Description: Fix existing example to use libjs from /usr/share/javascript; add 2nd browser example.
Forwarded: not-needed
Author: Paolo Greppi <paolo.greppi@libpf.com>

Index: node-debug/examples/browser/buttons.html
===================================================================
--- /dev/null
+++ node-debug/examples/browser/buttons.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <title>Example use of debug library in the browser</title>
+    <script language="javascript" type="text/javascript" src="/javascript/debug/debug.min.js"></script>
+  </head>
+<body>
+  <ul>
+    <li>now open the inspector, reload and see the debug messages</li>
+  </ul>
+  <button onclick="debug1('clicked!')">Debug 1</button>
+  <button onclick="debug2('clicked!')">Debug 2</button>
+  <script type="text/javascript">
+    localStorage.debug = 'debug1,debug2,worker:*';
+    var debug1 = debug('debug1');
+    var debug2 = debug('debug2');
+    var a = debug('worker:a');
+    var b = debug('worker:b');
+    setInterval(function(){
+      a('doing some work');
+    }, 1000);
+    setInterval(function(){
+      b('doing some work');
+    }, 1200);
+  </script>
+  </body>
+</html>
Index: node-debug/examples/browser/colors.html
===================================================================
--- node-debug.orig/examples/browser/colors.html
+++ node-debug/examples/browser/colors.html
@@ -3,7 +3,7 @@
   <head>
     <title>debug()</title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    <script src="../../dist/debug.js"></script>
+    <script language="javascript" type="text/javascript" src="/javascript/debug/debug.min.js"></script>
     <script>
       debug.enable('*')
 
