diff --git a/Gruntfile.js b/Gruntfile.js
index 2095031..4b53d6d 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -86,6 +86,9 @@ module.exports = function (grunt) {
requirejs: {
compile: {
options: eval(require('fs').readFileSync('./home.config.js').toString())
+ },
+ playground: {
+ options: eval(require('fs').readFileSync('./playground.config.js').toString())
}
}
});
diff --git a/home.config.js b/home.config.js
new file mode 100644
index 0000000..5e719ab
--- /dev/null
+++ b/home.config.js
@@ -0,0 +1,27 @@
+({
+ baseUrl: 'playground',
+ //name: 'node_modules/almond/almond.js', // assumes a production build using almond
+ out: 'playground/dist/home.min.js',
+ include: ['home-main.js'],
+ paths: {
+ lodash: 'http://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash',
+ jquery: 'http://code.jquery.com/jquery-1.11.0.min',
+ firebase: 'https://cdn.firebase.com/js/client/2.0.5/firebase',
+ react: 'http://fb.me/react-with-addons-0.12.1',
+ //ace: '../ace-builds-1.1.8/src-min/ace',
+ fiddle: './fiddle',
+ text: 'libs/requirejs-plugins/text',
+ json: 'libs/requirejs-plugins/json'
+ },
+ shim: {
+ lodash: {exports: '_'},
+ firebase: {exports: 'Firebase'},
+ jquery: {exports: '$'},
+ react: {exports: 'React'}
+ },
+ map: {
+ '*': {
+ 'react/addons': 'react'
+ }
+ }
+})
\ No newline at end of file
diff --git a/index.html b/index.html
index 50dbcd5..ce45946 100644
--- a/index.html
+++ b/index.html
@@ -83,9 +83,9 @@
-
+
-
-
+
+