[Pkg-javascript-commits] [jqueryui] 03/05: Fix some (but not all) spinner demos

Paul Mathijs Gevers elbrus at moszumanska.debian.org
Wed Nov 30 20:35:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

elbrus pushed a commit to branch master
in repository jqueryui.

commit 0056010f7afd2d1424195cd52a7325617ef605eb
Author: Paul Gevers <elbrus at debian.org>
Date:   Wed Nov 30 20:02:30 2016 +0100

    Fix some (but not all) spinner demos
---
 debian/control                                    |  1 +
 debian/patches/use_system_files_in_examples.patch | 39 +++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/debian/control b/debian/control
index 34f491f..75d00fe 100644
--- a/debian/control
+++ b/debian/control
@@ -35,6 +35,7 @@ Package: libjs-jquery-ui-docs
 Section: doc
 Architecture: all
 Depends:
+ libjs-jquery-mousewheel,
  libjs-jquery-ui,
  node-requirejs,
  ${misc:Depends},
diff --git a/debian/patches/use_system_files_in_examples.patch b/debian/patches/use_system_files_in_examples.patch
index d9b45a0..756fd9f 100644
--- a/debian/patches/use_system_files_in_examples.patch
+++ b/debian/patches/use_system_files_in_examples.patch
@@ -76,3 +76,42 @@ Index: jqueryui/demos/bootstrap.js
  } );
  
  // Replace effects all shortcut modules with all the effects modules
+Index: jqueryui/demos/spinner/default.html
+===================================================================
+--- jqueryui.orig/demos/spinner/default.html
++++ jqueryui/demos/spinner/default.html
+@@ -7,7 +7,7 @@
+ 	<link rel="stylesheet" href="../../themes/base/all.css">
+ 	<link rel="stylesheet" href="../demos.css">
+ 	<script src="../../external/requirejs/require.js"></script>
+-	<script src="../bootstrap.js" data-modules="external/jquery-mousewheel/jquery.mousewheel">
++	<script src="../bootstrap.js" data-modules="/usr/share/javascript/jquery-mousewheel/jquery.mousewheel.js">
+ 		var spinner = $( "#spinner" ).spinner();
+ 
+ 		$( "#disable" ).on( "click", function() {
+Index: jqueryui/demos/spinner/latlong.html
+===================================================================
+--- jqueryui.orig/demos/spinner/latlong.html
++++ jqueryui/demos/spinner/latlong.html
+@@ -8,7 +8,7 @@
+ 	<link rel="stylesheet" href="../demos.css">
+ 	<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
+ 	<script src="../../external/requirejs/require.js"></script>
+-	<script src="../bootstrap.js" data-modules="external/jquery-mousewheel/jquery.mousewheel">
++	<script src="../bootstrap.js" data-modules="/usr/share/javascript/jquery-mousewheel/jquery.mousewheel.js">
+ 		function latlong() {
+ 			return new google.maps.LatLng( $("#lat").val(), $("#lng").val() );
+ 		}
+Index: jqueryui/demos/spinner/overflow.html
+===================================================================
+--- jqueryui.orig/demos/spinner/overflow.html
++++ jqueryui/demos/spinner/overflow.html
+@@ -7,7 +7,7 @@
+ 	<link rel="stylesheet" href="../../themes/base/all.css">
+ 	<link rel="stylesheet" href="../demos.css">
+ 	<script src="../../external/requirejs/require.js"></script>
+-	<script src="../bootstrap.js" data-modules="external/jquery-mousewheel/jquery.mousewheel">
++	<script src="../bootstrap.js" data-modules="/usr/share/javascript/jquery-mousewheel/jquery.mousewheel.js">
+ 		$( "#spinner" ).spinner({
+ 			spin: function( event, ui ) {
+ 				if ( ui.value > 10 ) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jqueryui.git



More information about the Pkg-javascript-commits mailing list