- Timestamp:
- 2011-05-23 11:36:59 (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/kauri-jquery/src/main/kauri/static-{build}.key/kauri.util/json2.js
r1818 r1904 165 165 // methods in a closure to avoid creating global variables. 166 166 167 ; 168 (function($) { 169 167 var JSON; 168 if (!JSON) { 169 JSON = {}; 170 } 171 172 (function ($) { 173 "use strict"; 174 170 175 if (!$) 171 176 throw "[json2.js] requires jQuery"; … … 174 179 175 180 var kp = $.org.kauriproject; 176 177 var JSON;178 if (!JSON) {179 JSON = {};180 }181 182 (function () {183 "use strict";184 181 185 182 function f(n) { … … 493 490 }; 494 491 } 495 }()); 496 492 497 493 // add JSON object to namespace 498 494 $.extend(kp, { 499 495 JSON :JSON 500 496 }); 501 })(jQuery); 497 498 }(jQuery));
Note: See TracChangeset
for help on using the changeset viewer.