mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Fixed banned and changed quote style
This commit is contained in:
parent
d6dfc15351
commit
34e55d86d5
16
Gruntfile.js
16
Gruntfile.js
@ -1,12 +1,12 @@
|
|||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
|
|
||||||
grunt.loadNpmTasks("grunt-contrib-compress");
|
grunt.loadNpmTasks("grunt-contrib-compress");
|
||||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
grunt.loadNpmTasks("grunt-contrib-concat");
|
||||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
grunt.loadNpmTasks("grunt-contrib-jshint");
|
||||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
grunt.loadNpmTasks("grunt-contrib-uglify");
|
||||||
grunt.loadNpmTasks('grunt-contrib-qunit');
|
grunt.loadNpmTasks("grunt-contrib-qunit");
|
||||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
grunt.loadNpmTasks("grunt-contrib-connect");
|
||||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
grunt.loadNpmTasks("grunt-contrib-watch");
|
||||||
|
|
||||||
var distribution = "build/openseadragon.js",
|
var distribution = "build/openseadragon.js",
|
||||||
minified = "build/openseadragon.min.js",
|
minified = "build/openseadragon.min.js",
|
||||||
@ -42,10 +42,10 @@ module.exports = function(grunt) {
|
|||||||
|
|
||||||
// Project configuration.
|
// Project configuration.
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
pkg: "<json:package.json>",
|
pkg: grunt.file.readJSON("package.json"),
|
||||||
concat: {
|
concat: {
|
||||||
options: {
|
options: {
|
||||||
banner: "/**\n * @version <%= pkg.name %> <%= pkg.version %>\n */"
|
banner: "/**\n * @version <%= pkg.name %> <%= pkg.version %>\n */\n\n"
|
||||||
},
|
},
|
||||||
dist: {
|
dist: {
|
||||||
src: [ "<banner>" ].concat(sources),
|
src: [ "<banner>" ].concat(sources),
|
||||||
|
Loading…
Reference in New Issue
Block a user