diff options
author | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 21:44:39 +0000 |
---|---|---|
committer | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 21:44:39 +0000 |
commit | 07facf095ea17412a765f354b8fc17399a259630 (patch) | |
tree | 6d7b3ad5c82b0c35b2d2b51939e2455b97cb11fa /o3d/documentation/externs/o3d-extra-externs.js | |
parent | dc5b41997c4e55a9df7245739f4b27a920212b12 (diff) | |
download | chromium_src-07facf095ea17412a765f354b8fc17399a259630.zip chromium_src-07facf095ea17412a765f354b8fc17399a259630.tar.gz chromium_src-07facf095ea17412a765f354b8fc17399a259630.tar.bz2 |
This CL contains the the changes needed to build
an externs file for the JSCompiler as well as
the code to build a compiled verison of the o3djs
sample libs.
Review URL: http://codereview.chromium.org/147079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19659 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/documentation/externs/o3d-extra-externs.js')
-rwxr-xr-x | o3d/documentation/externs/o3d-extra-externs.js | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/o3d/documentation/externs/o3d-extra-externs.js b/o3d/documentation/externs/o3d-extra-externs.js new file mode 100755 index 0000000..e01c554 --- /dev/null +++ b/o3d/documentation/externs/o3d-extra-externs.js @@ -0,0 +1,48 @@ +
+/**
+ * Special global variable for V8 instances.
+ */
+var plugin;
+
+/**
+ * The main namespace for the o3d plugin.
+ * @namespace
+ */
+var o3d;
+
+/**
+ * @type {!Object}
+ */
+var Exception = goog.typedef;
+
+/**
+ * A namespace for the Cursor.
+ * @namespace
+ */
+o3d.Cursor = o3d.Cursor || { };
+
+/**
+ * A namespace for the VectorMath.
+ * @namespace
+ */
+var Vectormath;
+
+/**
+ * A namespace for the VectorMath.Aos
+ * @namespace
+ */
+Vectormath.Aos = Vectormath.Aos || { };
+
+/**
+ * A 4x4 Matrix of floats
+ * @type {!Array.<!Array.<number>>}
+ */
+o3d.Matrix4 = goog.typedef;
+
+/**
+ * RangeError.
+ * why is this sometimes needed and sometimes not?
+ * @exception
+ */
+var RangeError;
+
|