[Pkg-javascript-commits] [SCM] framework for using backbone.js on client and server for NodeJS branch, master, updated. debian/2.0.0+ds1-1-3-gd4dc2ab

David Paleino dapal at debian.org
Fri Oct 28 20:38:43 UTC 2011


The following commit has been merged in the master branch:
commit c3e44aeb132ec28f821366161a34460e00884569
Author: David Paleino <dapal at debian.org>
Date:   Fri Oct 28 22:38:07 2011 +0200

    Make Route.bones depend on systemwide node-jquery

diff --git a/debian/changelog b/debian/changelog
index 2f6eb2f..a95924c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-bones (2.0.0+ds1-2) UNRELEASED; urgency=low
+
+  * Make Route.bones depend on systemwide node-jquery
+
+ -- David Paleino <dapal at debian.org>  Fri, 28 Oct 2011 22:36:43 +0200
+
 node-bones (2.0.0+ds1-1) unstable; urgency=low
 
   * Added debian/watch file
diff --git a/debian/patches/00-depend_on_systemwide_modules.patch b/debian/patches/00-depend_on_systemwide_modules.patch
new file mode 100644
index 0000000..c9d5599
--- /dev/null
+++ b/debian/patches/00-depend_on_systemwide_modules.patch
@@ -0,0 +1,20 @@
+From: David Paleino <dapal at debian.org>
+Subject: depend on system-wide node-jquery
+Origin: vendor
+Forwarded: no
+
+---
+ servers/Route.bones |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- node-bones.orig/servers/Route.bones
++++ node-bones/servers/Route.bones
+@@ -12,7 +12,7 @@ var options = {
+ // TODO: This should be moved to the initialize method!
+ server.prototype.assets = {
+     vendor: new mirror([
+-        require.resolve('bones/assets/jquery'),
++        require.resolve('jquery'),
+         require.resolve('underscore'),
+         require.resolve('backbone')
+     ], { type: '.js' }),
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b829a4c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-depend_on_systemwide_modules.patch

-- 
framework for using backbone.js on client and server for NodeJS



More information about the Pkg-javascript-commits mailing list