From 28d524c937f0fc2b152fd674689337909cc03d36 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 25 Feb 2014 16:18:43 -0800 Subject: [PATCH] use /*! for attribution banner so it survives minification --- Gruntfile.js | 2 +- dist/ratchet-theme-android.css | 2 +- dist/ratchet-theme-ios.css | 2 +- dist/ratchet.css | 2 +- dist/ratchet.js | 2 +- docs/assets/css/docs.css | 2 +- docs/dist/ratchet-theme-android.css | 2 +- docs/dist/ratchet-theme-ios.css | 2 +- docs/dist/ratchet.css | 2 +- docs/dist/ratchet.js | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 985ec2d..eb38755 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -17,7 +17,7 @@ module.exports = function(grunt) { docsAssetsPath: 'docs/assets/' }, - banner: '/*\n' + + banner: '/*!\n' + ' * =====================================================\n' + ' * Ratchet v<%= pkg.version %>\n' + ' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + diff --git a/dist/ratchet-theme-android.css b/dist/ratchet-theme-android.css index 571b459..b68530e 100644 --- a/dist/ratchet-theme-android.css +++ b/dist/ratchet-theme-android.css @@ -1,4 +1,4 @@ -/* +/*! * ===================================================== * Ratchet v2.0.0 * Copyright 2014 Connor Sears diff --git a/dist/ratchet-theme-ios.css b/dist/ratchet-theme-ios.css index 71893b7..6a24076 100644 --- a/dist/ratchet-theme-ios.css +++ b/dist/ratchet-theme-ios.css @@ -1,4 +1,4 @@ -/* +/*! * ===================================================== * Ratchet v2.0.0 * Copyright 2014 Connor Sears diff --git a/dist/ratchet.css b/dist/ratchet.css index b83e3bc..86f200b 100644 --- a/dist/ratchet.css +++ b/dist/ratchet.css @@ -1,4 +1,4 @@ -/* +/*! * ===================================================== * Ratchet v2.0.0 * Copyright 2014 Connor Sears diff --git a/dist/ratchet.js b/dist/ratchet.js index 3c37ab6..81722ab 100644 --- a/dist/ratchet.js +++ b/dist/ratchet.js @@ -1,4 +1,4 @@ -/* +/*! * ===================================================== * Ratchet v2.0.0 * Copyright 2014 Connor Sears diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 40021be..e2b1564 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -1,4 +1,4 @@ -/* +/*! * ===================================================== * Ratchet v2.0.0 * Copyright 2014 Connor Sears diff --git a/docs/dist/ratchet-theme-android.css b/docs/dist/ratchet-theme-android.css index 571b459..b68530e 100644 --- a/docs/dist/ratchet-theme-android.css +++ b/docs/dist/ratchet-theme-android.css @@ -1,4 +1,4 @@ -/* +/*! * ===================================================== * Ratchet v2.0.0 * Copyright 2014 Connor Sears diff --git a/docs/dist/ratchet-theme-ios.css b/docs/dist/ratchet-theme-ios.css index 71893b7..6a24076 100644 --- a/docs/dist/ratchet-theme-ios.css +++ b/docs/dist/ratchet-theme-ios.css @@ -1,4 +1,4 @@ -/* +/*! * ===================================================== * Ratchet v2.0.0 * Copyright 2014 Connor Sears diff --git a/docs/dist/ratchet.css b/docs/dist/ratchet.css index b83e3bc..86f200b 100644 --- a/docs/dist/ratchet.css +++ b/docs/dist/ratchet.css @@ -1,4 +1,4 @@ -/* +/*! * ===================================================== * Ratchet v2.0.0 * Copyright 2014 Connor Sears diff --git a/docs/dist/ratchet.js b/docs/dist/ratchet.js index 3c37ab6..81722ab 100644 --- a/docs/dist/ratchet.js +++ b/docs/dist/ratchet.js @@ -1,4 +1,4 @@ -/* +/*! * ===================================================== * Ratchet v2.0.0 * Copyright 2014 Connor Sears