-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade Bootstrap4 * testing with test changes * fix test * fix test * fix center text * remove screenshort command * fix conflict * fix test * fix test * fix conflict * many changes * removed .DS_Store * code css work Co-authored-by: keshav234156 <[email protected]> Co-authored-by: Jeffrey Warren <[email protected]>
- Loading branch information
1 parent
59e5bf6
commit cf1fc4a
Showing
26 changed files
with
293 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
dist/*.js | ||
dist/*.js | ||
Gruntfile.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,84 @@ | ||
module.exports = function(grunt) { | ||
grunt.loadNpmTasks('grunt-browserify'); | ||
|
||
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | ||
grunt.loadNpmTasks('grunt-browserify'); | ||
|
||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | ||
|
||
watch: { | ||
options: { | ||
livereload: true | ||
}, | ||
source: { | ||
files: [ | ||
'src/*.js', | ||
'src/*/*.js', | ||
'Gruntfile.js' | ||
], | ||
tasks: ['build:js'] | ||
} | ||
}, | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
|
||
browserify: { | ||
dist: { | ||
src: [ | ||
'src/PublicLab.Editor.js' | ||
], | ||
dest: 'dist/PublicLab.Editor.js' | ||
}, | ||
debug: { | ||
options: { | ||
browserifyOptions: { | ||
debug: true | ||
} | ||
watch: { | ||
options : { | ||
livereload: true | ||
}, | ||
source: { | ||
files: [ | ||
'src/*.js', | ||
'src/*/*.js', | ||
'Gruntfile.js' | ||
], | ||
tasks: [ 'build:js' ] | ||
} | ||
}, | ||
|
||
browserify: { | ||
dist: { | ||
src: [ | ||
'src/PublicLab.Editor.js' | ||
], | ||
dest: 'dist/PublicLab.Editor.js' | ||
}, | ||
debug: { | ||
options : { | ||
browserifyOptions: { | ||
debug: true | ||
} | ||
}, | ||
src: [ | ||
'src/PublicLab.Editor.js' | ||
], | ||
dest: 'dist/PublicLab.Editor.js' | ||
} | ||
}, | ||
src: [ | ||
'src/PublicLab.Editor.js' | ||
], | ||
dest: 'dist/PublicLab.Editor.js' | ||
} | ||
}, | ||
|
||
jasmine: { | ||
publiclabeditor: { | ||
src: 'dist/*.js', | ||
options: { | ||
specs: 'spec/javascripts/*spec.js', | ||
vendor: [ | ||
'node_modules/jquery/dist/jquery.min.js', | ||
'node_modules/bootstrap/dist/js/bootstrap.min.js', | ||
'node_modules/blueimp-file-upload/js/vendor/jquery.ui.widget.js', | ||
'node_modules/blueimp-file-upload/js/jquery.iframe-transport.js', | ||
'node_modules/blueimp-file-upload/js/jquery.fileupload.js', | ||
'node_modules/typeahead.js/dist/typeahead.jquery.js', | ||
'node_modules/typeahead.js/dist/bloodhound.js', | ||
'node_modules/bootstrap-tokenfield/dist/bootstrap-tokenfield.js', | ||
'node_modules/jasmine-jquery/lib/jasmine-jquery.js', | ||
'node_modules/jasmine-ajax/lib/mock-ajax.js', | ||
'https://maps.googleapis.com/maps/api/js?libraries=places&language=en&key=AIzaSyDWgc7p4WWFsO3y0MTe50vF4l4NUPcPuwE', | ||
'node_modules/leaflet-blurred-location/dist/Leaflet.BlurredLocation.js', | ||
'node_modules/leaflet/dist/leaflet.js' | ||
] | ||
jasmine: { | ||
publiclabeditor: { | ||
src: 'dist/*.js', | ||
options: { | ||
specs: 'spec/javascripts/*spec.js', | ||
vendor: [ | ||
'node_modules/jquery/dist/jquery.min.js', | ||
'node_modules/popper.js/dist/umd/popper.min.js', | ||
'node_modules/bootstrap/dist/js/bootstrap.js', | ||
'node_modules/blueimp-file-upload/js/vendor/jquery.ui.widget.js', | ||
'node_modules/blueimp-file-upload/js/jquery.iframe-transport.js', | ||
'node_modules/blueimp-file-upload/js/jquery.fileupload.js', | ||
'node_modules/typeahead.js/dist/typeahead.jquery.js', | ||
'node_modules/typeahead.js/dist/bloodhound.js', | ||
'node_modules/bootstrap-tokenfield/dist/bootstrap-tokenfield.js', | ||
'node_modules/jasmine-jquery/lib/jasmine-jquery.js', | ||
'node_modules/jasmine-ajax/lib/mock-ajax.js', | ||
'https://maps.googleapis.com/maps/api/js?libraries=places&language=en&key=AIzaSyDWgc7p4WWFsO3y0MTe50vF4l4NUPcPuwE', | ||
'node_modules/leaflet-blurred-location/dist/Leaflet.BlurredLocation.js', | ||
'node_modules/leaflet/dist/leaflet.js' | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
}); | ||
}); | ||
|
||
/* Default (development): Watch files and build on change. */ | ||
grunt.registerTask('default', ['watch' , 'jasmine']); | ||
|
||
/* Default (development): Watch files and build on change. */ | ||
grunt.registerTask('default', ['watch', 'jasmine']); | ||
grunt.registerTask('build', [ | ||
'browserify:dist' | ||
]); | ||
|
||
grunt.registerTask('build', [ | ||
'browserify:dist' | ||
]); | ||
grunt.registerTask('debug', [ | ||
'browserify:debug' | ||
]); | ||
|
||
grunt.registerTask('debug', [ | ||
'browserify:debug' | ||
]); | ||
grunt.loadNpmTasks('grunt-contrib-jasmine'); | ||
|
||
grunt.loadNpmTasks('grunt-contrib-jasmine'); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.