diff options
Diffstat (limited to 'i_love_echo.js')
-rw-r--r-- | i_love_echo.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/i_love_echo.js b/i_love_echo.js index b7fbf0e..e95584d 100644 --- a/i_love_echo.js +++ b/i_love_echo.js @@ -54,7 +54,7 @@ function $(arg){ //{{{ if (typeof arg == "string"){ let s = new $s(arg); if (/^https?:\/\/./.test(arg)){ - s.open = function(){ var x = liberator.modules.$x(arg); return x.open(); }; + s.open = function(){ var x = modules.$x(arg); return x.open(); }; } return s; } else if (typeof arg == "xml"){ @@ -67,7 +67,7 @@ function $(arg){ //{{{ return new $o(arg); } } //}}} -liberator.modules.$f = (function(){ //{{{ +modules.$f = (function(){ //{{{ const pests = [ '__defineGetter__', '__defineSetter__', 'hasOwnProperty', 'isPrototypeOf', '__lookupGetter__', '__lookupSetter__', '__parent__', 'propertyIsEnumerable', @@ -100,8 +100,8 @@ liberator.modules.$f = (function(){ //{{{ })(); //}}} -liberator.modules.$ = $; -liberator.modules.$x = function $x(url, method, user, password){ //{{{ +modules.$ = $; +modules.$x = function $x(url, method, user, password){ //{{{ if (!cacheXHR){ cacheXHR = new $xhr(url, method, user, password); } else if (cacheXHR.success && cacheXHR.url == url){ @@ -114,7 +114,7 @@ liberator.modules.$x = function $x(url, method, user, password){ //{{{ } return cacheXHR; }; //}}} -liberator.modules.$_ = { //{{{ +modules.$_ = { //{{{ cache: { get: function(num) $(cache[num]), get length() cache.length, |