diff --git a/gulpfile.js b/gulpfile.js index bfe92a4..017ae84 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -18,7 +18,7 @@ var gulp = require("gulp"), var banner = [ "", - "/** <%= pkg.name %>", + "/*! <%= pkg.name %>", " ** <%= pkg.description %>", " ** @author <%= pkg.author %>", " ** @version <%= pkg.version %>", @@ -35,17 +35,18 @@ gulp.task("clean", function () { gulp.task("gatherLibs", ["clean"], function () { return gulp.src([ - "web/jsLib/joint.shapes.uml.js" + "web/jsLib/joint.js", + "web/jsLib/joint.shapes.uml.js" ]) .pipe(uglify({ output: { ascii_only: true, width: 30000, max_line_len: 30000 - } + }, + preserveComments: "some" })) - .pipe(addsrc.prepend([ - "web/jsLib/joint.min.js", + .pipe(addsrc.append([ "web/jsLib/joint.layout.DirectedGraph.min.js" ])) .pipe(stripComments({ safe: true })) @@ -63,7 +64,8 @@ gulp.task("gatherScripts", ["clean", "gatherLibs"], function () { ascii_only: true, width: 30000, max_line_len: 30000 - } + }, + preserveComments: "some" })) .pipe(header(banner, { pkg: pkg })) .pipe(addsrc.prepend("build/web/js/CacheUMLExplorer.js")) diff --git a/package.json b/package.json index 2ee8732..db8fe84 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "gulp-rename": "^1.2.0", "gulp-replace": "^0.5.0", "gulp-strip-comments": "^1.0.1", - "gulp-uglify": "^1.0.1", + "gulp-uglify": "^1.2.0", "gulp-wrap": "^0.5.0", "gulp-zip": "^2.0.2" }, diff --git a/web/css/classView.css b/web/css/classView.css index 97e2b51..b76de0d 100644 --- a/web/css/classView.css +++ b/web/css/classView.css @@ -1,5 +1,6 @@ #classView { height: 100%; + cursor: -webkit-grab; cursor: -moz-grab; } .uml-class-name-rect { diff --git a/web/index.html b/web/index.html index 4b1ca2d..f014bcf 100644 --- a/web/index.html +++ b/web/index.html @@ -11,7 +11,7 @@ - + @@ -21,7 +21,7 @@ -