add externals for CreateJS and JQuery

Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/47e7d754
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/47e7d754
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/47e7d754

Branch: refs/heads/develop
Commit: 47e7d7548d9eba245a2a172efbfc20eace2b1b2a
Parents: 1e1163f
Author: Alex Harui <[email protected]>
Authored: Fri Nov 22 09:33:45 2013 -0800
Committer: Alex Harui <[email protected]>
Committed: Fri Nov 22 09:33:45 2013 -0800

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/createjs_externals.js | 19 +++++++++++++++++++
 frameworks/js/FlexJS/src/jquery_externals.js   | 19 +++++++++++++++++++
 2 files changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/47e7d754/frameworks/js/FlexJS/src/createjs_externals.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/createjs_externals.js 
b/frameworks/js/FlexJS/src/createjs_externals.js
new file mode 100644
index 0000000..0c6b72b
--- /dev/null
+++ b/frameworks/js/FlexJS/src/createjs_externals.js
@@ -0,0 +1,19 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * This file is used to establish external APIs so the closure-compiler
+ * can resolve references and won't minify names
+ */
+function createjs() {};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/47e7d754/frameworks/js/FlexJS/src/jquery_externals.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/jquery_externals.js 
b/frameworks/js/FlexJS/src/jquery_externals.js
new file mode 100644
index 0000000..2c7d0ce
--- /dev/null
+++ b/frameworks/js/FlexJS/src/jquery_externals.js
@@ -0,0 +1,19 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * This file is used to establish external APIs so the closure-compiler
+ * can resolve references and won't minify names
+ */
+function $() {};

Reply via email to