← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12478: switching to using jquery.utils.js instead of jquery.plugins.js

 

------------------------------------------------------------
revno: 12478
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-10-07 16:43:02 +0200
message:
  switching to using jquery.utils.js instead of jquery.plugins.js
removed:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.plugins.js
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/cacheManifest.vm
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/cacheManifest.vm
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.utils.js
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/cacheManifest.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/cacheManifest.vm	2013-10-07 14:22:45 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/cacheManifest.vm	2013-10-07 14:43:02 +0000
@@ -15,7 +15,7 @@
 ../dhis-web-commons/css/print.css
 ../favicon.ico
 ../dhis-web-commons/javascripts/jQuery/jquery.min.js
-../dhis-web-commons/javascripts/jQuery/jquery.plugins.js
+../dhis-web-commons/javascripts/jQuery/jquery.utils.js
 ../dhis-web-commons/javascripts/jQuery/jquery.metadata.js
 ../dhis-web-commons/javascripts/jQuery/jquery.glob.js
 ../dhis-web-commons/javascripts/jQuery/jquery.date.js

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/cacheManifest.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/cacheManifest.vm	2013-10-07 14:22:45 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/cacheManifest.vm	2013-10-07 14:43:02 +0000
@@ -10,7 +10,7 @@
 ../dhis-web-dataentry/style/dhis-web-dataentry.css
 ../favicon.ico
 javascripts/jQuery/jquery.min.js
-javascripts/jQuery/jquery.plugins.js
+javascripts/jQuery/jquery.utils.js
 javascripts/jQuery/jquery.metadata.js
 javascripts/jQuery/jquery.glob.js
 javascripts/jQuery/jquery.date.js

=== removed file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.plugins.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.plugins.js	2013-10-07 14:22:45 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.plugins.js	1970-01-01 00:00:00 +0000
@@ -1,19 +0,0 @@
-
-// internal 'plugins' that touches jquery core
-
-;(function( $, window, document, undefined ) {
-
-    // iterate over and trim every item of an array
-    $.trimArray = function( arr ) {
-        if( !$.isArray(arr) ) {
-            throw new Error('requires an array as argument')
-        }
-
-        for( var i = 0, len = arr.length; i < len; i++ ) {
-            arr[i] = $.trim(arr[i]);
-        }
-
-        return arr;
-    }
-
-})(jQuery, window, document);

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.utils.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.utils.js	2012-04-30 20:10:16 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.utils.js	2013-10-07 14:43:02 +0000
@@ -1,3 +1,23 @@
+
+// internal 'plugins' that touches jquery core
+
+;(function( $, window, document, undefined ) {
+
+    // iterate over and trim every item of an array
+    $.trimArray = function( arr ) {
+        if( !$.isArray(arr) ) {
+            throw new Error('requires an array as argument')
+        }
+
+        for( var i = 0, len = arr.length; i < len; i++ ) {
+            arr[i] = $.trim(arr[i]);
+        }
+
+        return arr;
+    }
+
+})(jQuery, window, document);
+
 jQuery.extend( {
 	
 	postJSON: function( url, data, success ) {

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm	2013-10-07 14:22:45 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm	2013-10-07 14:43:02 +0000
@@ -19,13 +19,12 @@
     </script>
 
     <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/jquery.min.js"></script>
-    <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/jquery.plugins.js"></script>
+    <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/jquery.utils.js"></script>
     <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/jquery.ext.js"></script>
     <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/jquery.metadata.js"></script>
     <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/jquery.tablesorter.min.js"></script>
     <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/jquery.upload-1.0.2.min.js"></script>
     <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/jquery.dhisAjaxSelect.js"></script>
-    <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/jquery.utils.js"></script>
     <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/ui/jquery-ui-1.9.1.custom.min.js"></script>
     <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/ui/jquery.blockUI.js"></script>
     <script type="text/javascript" src="../dhis-web-commons/javascripts/jQuery/jquery.validate.js"></script>