Mohsen Azimi
1ea77868aa
Update TravisCI badge to show only master result and remove CoffeeScript references
9 anos atrás
Mohsen Azimi
99eaf4eb23
Use SwaggerJS from npm
* Uses npm to download latest swagger-js (for now. When swagger-js is
released we will replace git address with actual swagger-ui)
* Uses `postinstall` to generate `browser` folder of swagger-ui. This
can go when swagger-ui is published.
9 anos atrás
Mohsen Azimi
4e22ff8b96
Wrap all SwaggerUI code in a iife
to avoid leaking globals other than SwaggerUi and swaggerUi
TODO: we should remove swaggerUi global dependency too
9 anos atrás
Mohsen Azimi
07ac7fcf95
Fix all JSHint errors
9 anos atrás
Mohsen Azimi
9ad29d72b0
remove coffeescript from build process
9 anos atrás
Mohsen Azimi
7006e86fa5
Remove global references to swaggerUi object
By passing parent view as an option to child views, child views can
access parent views and eventually can access model of MainView
There is alos a new domEl option available for SwaggerUI constructor.
User can send domEl instead of dom_id to specifiy which element they
want to render to
9 anos atrás
Nuno Vieira
f10c0ff405
add print style sheet
9 anos atrás
Mohsen Azimi
ef55b90541
user gulp-order to produce ordered template
9 anos atrás
Mohsen Azimi
9c46e14379
When running `gulp watch` watch handlebars file changes too
9 anos atrás
Mohsen Azimi
7622b38426
Add underscore source map file
Fixes #949
9 anos atrás
Mohsen Azimi
0cd13c76f5
user gulp-order to produce ordered template
9 anos atrás
Mohsen Azimi
82323e2eec
When running `gulp watch` watch handlebars file changes too
9 anos atrás
Mohsen Azimi
a6f20aae09
Add underscore source map file
Fixes #949
9 anos atrás
Tony Tam
f2f939e24e
added gulp-header to write metadata in comments of output library #900
9 anos atrás
Tony Tam
038443fc22
merged from develop_2.0
9 anos atrás
Mohsen Azimi
672730054f
Add `gulp serve`
9 anos atrás
Mohsen Azimi
4708aba411
Add `gulp watch`
9 anos atrás
Mohsen Azimi
6e3f72f904
Do clean task before any other task
9 anos atrás
Mohsen Azimi
030cea26d8
Finish "gulp" command
9 anos atrás
Mohsen Azimi
a161942c03
Add templates
9 anos atrás
Mohsen Azimi
ecb8df4b95
Add less and copy html files
9 anos atrás
Mohsen Azimi
17a2e1af5e
Add gulfile.js
This includes tasks for coffe , concat, minfification and copying lib
9 anos atrás