From 37f0c7dcd617300ceb6badd138816fd3995989bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 27 Jun 2013 03:58:14 -0700 Subject: [PATCH] Add missing Key class to exports. --- src/export.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/export.js b/src/export.js index 495faa5e..9b350ede 100644 --- a/src/export.js +++ b/src/export.js @@ -10,7 +10,8 @@ * All rights reserved. */ -// First add Base and Numerical to exports, then inject all exports into +// First add Base and a couple of other objects that are not automatically +// exported to exports (Numerical, Key, etc), then inject all exports into // PaperScope, and create the initial paper object, all in one statement: paper = new (PaperScope.inject(Base.merge(Base.exports, { // Mark fields as enumeralbe so PaperScope.inject can pick them up @@ -18,7 +19,8 @@ paper = new (PaperScope.inject(Base.merge(Base.exports, { Base: Base, Numerical: Numerical, DomElement: DomElement, - DomEvent: DomEvent + DomEvent: DomEvent, + Key: Key })))(); // Support AMD (e.g. require.js)