Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: tools/cc-frame-viewer/third_party/gl-matrix/spec/helpers/node-helper.js

Issue 12251005: [cc-frame-viewer] Add gl-matrix to third_party [redux] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/cc-frame-viewer/third_party/gl-matrix/spec/helpers/node-helper.js
diff --git a/tools/cc-frame-viewer/third_party/gl-matrix/spec/helpers/node-helper.js b/tools/cc-frame-viewer/third_party/gl-matrix/spec/helpers/node-helper.js
new file mode 100644
index 0000000000000000000000000000000000000000..50c9aac9888e0e2c6e98cd6990c61eee685a05c3
--- /dev/null
+++ b/tools/cc-frame-viewer/third_party/gl-matrix/spec/helpers/node-helper.js
@@ -0,0 +1,6 @@
+if (typeof(exports) !== 'undefined') {
+ var glm = require("../../dist/gl-matrix");
+ for (var ns in glm) {
+ global[ns] = glm[ns];
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698