Preserve license comments in dist

This commit is contained in:
Kevin Dietrich 2016-02-15 20:37:07 +01:00
parent f4e8b9e03e
commit 1e75be19ed
5 changed files with 24 additions and 12 deletions

View file

@ -38,7 +38,8 @@ module.exports = function (grunt) {
uglify: {
options: {
sourceMap: true,
sourceMapName: 'dist/gridstack.min.map'
sourceMapName: 'dist/gridstack.min.map',
preserveComments: 'some'
},
dist: {
files: {

12
dist/gridstack.js vendored
View file

@ -1,8 +1,10 @@
// gridstack.js 0.2.5-dev
// http://troolee.github.io/gridstack.js/
// (c) 2014-2016 Pavel Reznikov
// gridstack.js may be freely distributed under the MIT license.
/**
* gridstack.js 0.2.5-dev
* http://troolee.github.io/gridstack.js/
* (c) 2014-2016 Pavel Reznikov
* gridstack.js may be freely distributed under the MIT license.
* @preserve
*/
(function(factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery', 'lodash', 'jquery-ui/core', 'jquery-ui/widget', 'jquery-ui/mouse', 'jquery-ui/draggable',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,8 +1,10 @@
// gridstack.js 0.2.5-dev
// http://troolee.github.io/gridstack.js/
// (c) 2014-2016 Pavel Reznikov
// gridstack.js may be freely distributed under the MIT license.
/**
* gridstack.js 0.2.5-dev
* http://troolee.github.io/gridstack.js/
* (c) 2014-2016 Pavel Reznikov
* gridstack.js may be freely distributed under the MIT license.
* @preserve
*/
(function(factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery', 'lodash', 'jquery-ui/core', 'jquery-ui/widget', 'jquery-ui/mouse', 'jquery-ui/draggable',