diff options
author | teramako | 2009-01-12 06:09:32 +0000 |
---|---|---|
committer | teramako | 2009-01-12 06:09:32 +0000 |
commit | 97b9458e7fdd9f4eb9af395a77c2d63ee8e84253 (patch) | |
tree | 7c18994a09f71058cd682e0245629f87a45ee0c3 /i_love_echo.js | |
parent | 432b7d3779521317a4dbb809d1130e8c843f40ee (diff) | |
download | vimperator-plugins-97b9458e7fdd9f4eb9af395a77c2d63ee8e84253.tar.bz2 |
change namespace
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28315 d0d07461-0603-4401-acd4-de1884942a52
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, |