@@ -6,7 +6,7 @@ simple JavaScript interface.
6
6
## Installation
7
7
8
8
Download the minified JS
9
- [ here] ( https://raw.github.com/openaura/js-sdk/deanh/artist-search /oa-all.min .js ) and include
9
+ [ here] ( https://raw.github.com/openaura/js-sdk/build/js /oa-all.js ) and include
10
10
it in your HTML via a script tag.
11
11
12
12
## Usage
@@ -121,28 +121,16 @@ pixels, and at most 1000x3000 pixels:
121
121
122
122
## Building
123
123
124
- This project has the following setup:
124
+ This project uses [ Gulp] ( http://gulpjs.com/ ) to build. Assuming you
125
+ have Node.js and npm installed, cd into the project directory and:
125
126
126
- * www/ - the web assets for the project
127
- * app.js - the top-level config script used by index.html
128
- * app/ - the directory to store project-specific scripts.
129
- * lib/ - the directory to hold third party scripts.
130
- * tools/ - the build tools to optimize the project.
127
+ ```
128
+ $ npm install -f gulp
131
129
132
- To build, run:
130
+ $ npm install
131
+ ```
133
132
134
- node tools/r.js -o tools/build.js && cp www-built/app/all.js oa-all.min.js
133
+ To build, run ``` gulp package ``` . You should end up with a single file
134
+ in build/js/oa-all.js. You can open (and play around with)
135
+ build/index.html, which includes the JS in a script tag.
135
136
136
- That build command creates minified version of the project in a
137
- ** www-built** directory. The app/all.js file will be optimized to
138
- include all of its dependencies, and is copied to the main dir for
139
- distribution.
140
-
141
- The example-all.html file in the main directory loads the minified
142
- file, so you can expeiment with it in your browser console.
143
-
144
- For more information on the optimizer:
145
- http://requirejs.org/docs/optimization.html
146
-
147
- For more information on using requirejs:
148
- http://requirejs.org/docs/api.html
0 commit comments