Skip to content

Commit 1e75be1

Browse files
committed
Preserve license comments in dist
1 parent f4e8b9e commit 1e75be1

File tree

5 files changed

+24
-12
lines changed

5 files changed

+24
-12
lines changed

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ module.exports = function (grunt) {
3838
uglify: {
3939
options: {
4040
sourceMap: true,
41-
sourceMapName: 'dist/gridstack.min.map'
41+
sourceMapName: 'dist/gridstack.min.map',
42+
preserveComments: 'some'
4243
},
4344
dist: {
4445
files: {

dist/gridstack.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
// gridstack.js 0.2.5-dev
2-
// http://troolee.github.io/gridstack.js/
3-
// (c) 2014-2016 Pavel Reznikov
4-
// gridstack.js may be freely distributed under the MIT license.
5-
1+
/**
2+
* gridstack.js 0.2.5-dev
3+
* http://troolee.github.io/gridstack.js/
4+
* (c) 2014-2016 Pavel Reznikov
5+
* gridstack.js may be freely distributed under the MIT license.
6+
* @preserve
7+
*/
68
(function(factory) {
79
if (typeof define === 'function' && define.amd) {
810
define(['jquery', 'lodash', 'jquery-ui/core', 'jquery-ui/widget', 'jquery-ui/mouse', 'jquery-ui/draggable',

dist/gridstack.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)