Permalink
Browse files

Add a license header in the generated files.

This closes issue #117.
  • Loading branch information...
1 parent d193148 commit ab0351784c2501b5ba677c749a2aae11fbee106b @XhmikosR XhmikosR committed Sep 15, 2013
Showing with 15 additions and 5 deletions.
  1. +6 −0 Gruntfile.js
  2. +9 −5 inc/header.js
View
@@ -76,6 +76,12 @@ module.exports = function(grunt) {
uglify: {
my_target: {
+ options: {
+ compress: true,
+ mangle: true,
+ preserveComments: "some",
+ report: "min"
+ },
files: {
'dist/markdown.min.js': ['dist/markdown.js']
}
View
@@ -1,7 +1,11 @@
-// Released under MIT license
-// Copyright (c) 2009-2010 Dominic Baggott
-// Copyright (c) 2009-2010 Ash Berlin
-// Copyright (c) 2011 Christoph Dorn <christoph@christophdorn.com> (http://www.christophdorn.com)
-// Date: @DATE
+/*!
+ * Markdown
+ * Released under MIT license
+ * Copyright (c) 2009-2010 Dominic Baggott
+ * Copyright (c) 2009-2010 Ash Berlin
+ * Copyright (c) 2011 Christoph Dorn <christoph@christophdorn.com> (http://www.christophdorn.com)
+ * Version: @VERSION
+ * Date: @DATE
+ */
(function(expose) {

0 comments on commit ab03517

Please sign in to comment.