summaryrefslogtreecommitdiffstats
path: root/o3d/samples/o3djs/base.js
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 06:13:42 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 06:13:42 +0000
commit3d476cf047d6a463d5706f70bfdf5e3787f863ee (patch)
treea14f7c154461bcd0f130998e208f4797ff97727c /o3d/samples/o3djs/base.js
parent16782af93aa5c1fe71bdf90b1d256c410d53bd2a (diff)
downloadchromium_src-3d476cf047d6a463d5706f70bfdf5e3787f863ee.zip
chromium_src-3d476cf047d6a463d5706f70bfdf5e3787f863ee.tar.gz
chromium_src-3d476cf047d6a463d5706f70bfdf5e3787f863ee.tar.bz2
Undoing gcl bug damage
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/samples/o3djs/base.js')
-rw-r--r--o3d/samples/o3djs/base.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/o3d/samples/o3djs/base.js b/o3d/samples/o3djs/base.js
index a68214c..a1cd85f 100644
--- a/o3d/samples/o3djs/base.js
+++ b/o3d/samples/o3djs/base.js
@@ -641,17 +641,6 @@ o3djs.base.maybeDeobfuscateFunctionName_ = function(name) {
};
/**
- * Makes one class inherit from another.
- * @param {!Object} subClass Class that wants to inherit.
- * @param {!Object} superClass Class to inherit from.
- */
-o3djs.base.inherit = function(subClass, superClass) {
- var tmpClass = function() { };
- tmpClass.prototype = superClass.prototype;
- subClass.prototype = new tmpClass();
-};
-
-/**
* Parses an error stack from an exception
* @param {!Exception} excp The exception to get a stack trace from.
* @return {!Array.<string>} An array of strings of the stack trace.