From 2d40d10c6e3d7e056846d1d530714be8d92d8c2d Mon Sep 17 00:00:00 2001 From: Justin Windle Date: Tue, 28 May 2013 15:38:39 -0400 Subject: [PATCH 1/2] Legacy support for enumeration (maps to ) --- js/sketch.js | 1 + js/sketch.min.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/sketch.js b/js/sketch.js index c4174d9..73d0841 100755 --- a/js/sketch.js +++ b/js/sketch.js @@ -423,6 +423,7 @@ var Sketch = (function() { var element, context, Sketch = { CANVAS: CANVAS, + WEB_GL: WEBGL, WEBGL: WEBGL, DOM: DOM, diff --git a/js/sketch.min.js b/js/sketch.min.js index 29b9b40..dd2eade 100644 --- a/js/sketch.min.js +++ b/js/sketch.min.js @@ -1,2 +1,2 @@ /* Copyright (C) 2013 Justin Windle, http://soulwire.co.uk */ -var Sketch=function(){"use strict";function e(e){return"[object Array]"==Object.prototype.toString.call(e)}function t(e){return"function"==typeof e}function n(e){return"number"==typeof e}function o(e){return"string"==typeof e}function r(e){return C[e]||String.fromCharCode(e)}function i(e,t,n){for(var o in t)(n||!e.hasOwnProperty(o))&&(e[o]=t[o]);return e}function u(e,t){return function(){e.apply(t,arguments)}}function a(e){var n={};for(var o in e)n[o]=t(e[o])?u(e[o],e):e[o];return n}function c(e){function n(n){t(n)&&n.apply(e,[].splice.call(arguments,1))}function u(e){for(D=0;D Date: Tue, 28 May 2013 15:50:34 -0400 Subject: [PATCH 2/2] Use cdnjs to serve THREE in example #39 --- examples/three.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/three.html b/examples/three.html index 810715a..03781fe 100644 --- a/examples/three.html +++ b/examples/three.html @@ -21,7 +21,7 @@

Using a THREE.js renderer context with sketch.js

View on Github - +