Skip to content
Browse files

update the algo code tpl

  • Loading branch information...
1 parent 2578f05 commit 25eb169188219b0b99bcf63415b62b7e2f4529cf @sunshine1988 committed
Showing with 4 additions and 4 deletions.
  1. +1 −1 lib/algorithm.tpl.js
  2. +1 −1 lib/diff.js
  3. +1 −1 lib/monkeyKing.js
  4. +1 −1 lib/prime.js
View
2 lib/algorithm.tpl.js
@@ -12,7 +12,7 @@
*/
(function(global){
/*define global var start*/
- var Algo = global.Algorithm || {};
+ var Algo = global.Algorithm = global.Algorithm || {};
/*define global var end*/
/*main code start*/
View
2 lib/diff.js
@@ -14,7 +14,7 @@
*/
(function(global){
/*define global var start*/
- var Algo = global.Algorithm || {};
+ var Algo = global.Algorithm = global.Algorithm || {};
/*define global var end*/
/*main code start*/
View
2 lib/monkeyKing.js
@@ -9,7 +9,7 @@
*/
(function(global){
/*define global var start*/
- var Algo = global.Algorithm || {};
+ var Algo = global.Algorithm = global.Algorithm || {};
/*define global var end*/
/*main code start*/
View
2 lib/prime.js
@@ -4,7 +4,7 @@
*/
(function(global){
/*define global var start*/
- var Algo = global.Algorithm || {};
+ var Algo = global.Algorithm = global.Algorithm || {};
/*define global var end*/
/*main code start*/

0 comments on commit 25eb169

Please sign in to comment.
Something went wrong with that request. Please try again.