diff options
author | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-13 23:47:06 +0000 |
---|---|---|
committer | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-13 23:47:06 +0000 |
commit | 3ed462685a542d3a9625d8fa24a5755a283530ae (patch) | |
tree | 72b60d41d6294059527a5120df595eb7c73f48ab /chrome/browser/resources/ntp/util.js | |
parent | baa88b42ff4fe68d8bd096b2c4c28a4ebdac6910 (diff) | |
download | chromium_src-3ed462685a542d3a9625d8fa24a5755a283530ae.zip chromium_src-3ed462685a542d3a9625d8fa24a5755a283530ae.tar.gz chromium_src-3ed462685a542d3a9625d8fa24a5755a283530ae.tar.bz2 |
DOMUI etc. Use the built in bind method of Function now that V8 supports it.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/3308030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59303 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/ntp/util.js')
-rw-r--r-- | chrome/browser/resources/ntp/util.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/resources/ntp/util.js b/chrome/browser/resources/ntp/util.js index b759356..ebd1e4d 100644 --- a/chrome/browser/resources/ntp/util.js +++ b/chrome/browser/resources/ntp/util.js @@ -11,15 +11,6 @@ function $(id) { return document.getElementById(id); } -function bind(fn, selfObj, var_args) { - var boundArgs = Array.prototype.slice.call(arguments, 2); - return function() { - var args = Array.prototype.slice.call(arguments); - args.unshift.apply(args, boundArgs); - return fn.apply(selfObj, args); - } -} - function url(s) { // http://www.w3.org/TR/css3-values/#uris // Parentheses, commas, whitespace characters, single quotes (') and double |