From 22f87a6e47ac07733b0b79c6f5bc8068f6797534 Mon Sep 17 00:00:00 2001 From: Neha Kadam Date: Wed, 14 Sep 2016 22:18:09 +0530 Subject: [PATCH] Removed console messages to avoid warnings Removed console messages from minified script to avoid warnings. --- DateTimePicker.jquery.json | 2 +- Gruntfile.js | 5 ++++- bower.json | 4 ++-- demo/BasicDatePicker.htm | 5 +++-- demo/jquery-3.1.0.min.js | 4 ++++ dist/DateTimePicker-ltie9.css | 2 +- dist/DateTimePicker-ltie9.js | 2 +- dist/DateTimePicker-ltie9.min.css | 2 +- dist/DateTimePicker-ltie9.min.js | 2 +- dist/DateTimePicker.css | 2 +- dist/DateTimePicker.js | 4 ++-- dist/DateTimePicker.min.css | 2 +- dist/DateTimePicker.min.js | 6 +++--- dist/DateTimePicker_iOS_fix.js | 2 +- dist/i18n/DateTimePicker-i18n-cs.js | 2 +- dist/i18n/DateTimePicker-i18n-de.js | 2 +- dist/i18n/DateTimePicker-i18n-en.js | 2 +- dist/i18n/DateTimePicker-i18n-es.js | 2 +- dist/i18n/DateTimePicker-i18n-fr.js | 2 +- dist/i18n/DateTimePicker-i18n-it.js | 2 +- dist/i18n/DateTimePicker-i18n-ja.js | 2 +- dist/i18n/DateTimePicker-i18n-nb.js | 2 +- dist/i18n/DateTimePicker-i18n-nl.js | 2 +- dist/i18n/DateTimePicker-i18n-ro.js | 2 +- dist/i18n/DateTimePicker-i18n-ru.js | 2 +- dist/i18n/DateTimePicker-i18n-uk.js | 2 +- dist/i18n/DateTimePicker-i18n-zh-TW.js | 2 +- dist/i18n/DateTimePicker-i18n.js | 2 +- dist/i18n/DatetimePicker-i18n-zh-CN.js | 2 +- package.json | 4 ++-- src/DateTimePicker-ltie9.css | 2 +- src/DateTimePicker-ltie9.js | 2 +- src/DateTimePicker.css | 2 +- src/DateTimePicker.js | 4 ++-- src/DateTimePicker_iOS_fix.js | 2 +- src/i18n/DateTimePicker-i18n-cs.js | 2 +- src/i18n/DateTimePicker-i18n-de.js | 2 +- src/i18n/DateTimePicker-i18n-en.js | 2 +- src/i18n/DateTimePicker-i18n-es.js | 2 +- src/i18n/DateTimePicker-i18n-fr.js | 2 +- src/i18n/DateTimePicker-i18n-it.js | 2 +- src/i18n/DateTimePicker-i18n-ja.js | 2 +- src/i18n/DateTimePicker-i18n-nb.js | 2 +- src/i18n/DateTimePicker-i18n-nl.js | 2 +- src/i18n/DateTimePicker-i18n-ro.js | 2 +- src/i18n/DateTimePicker-i18n-ru.js | 2 +- src/i18n/DateTimePicker-i18n-uk.js | 2 +- src/i18n/DateTimePicker-i18n-zh-TW.js | 2 +- src/i18n/DateTimePicker-i18n.js | 2 +- src/i18n/DatetimePicker-i18n-zh-CN.js | 2 +- 50 files changed, 64 insertions(+), 56 deletions(-) create mode 100644 demo/jquery-3.1.0.min.js diff --git a/DateTimePicker.jquery.json b/DateTimePicker.jquery.json index 93782ee..7eaa7c2 100755 --- a/DateTimePicker.jquery.json +++ b/DateTimePicker.jquery.json @@ -29,7 +29,7 @@ "docs": "http://curioussolutions.github.io/DateTimePicker/", - "version": "0.1.32", + "version": "0.1.33", "licenses": [ { diff --git a/Gruntfile.js b/Gruntfile.js index 55443d7..5439d70 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -56,7 +56,10 @@ module.exports = function(grunt) { options: { - banner: sBanner + banner: sBanner, + compress: { + drop_console: true + } }, build: { diff --git a/bower.json b/bower.json index 1427438..170a299 100644 --- a/bower.json +++ b/bower.json @@ -15,11 +15,11 @@ "input" ], - "version": "0.1.32", + "version": "0.1.33", "homepage": "http://curioussolutions.github.io/DateTimePicker/", - "main": ["dist/DateTimePicker.js", "dist/DateTimePicker.css"], + "main": ["dist/DateTimePicker.min.js", "dist/DateTimePicker.min.css"], "authors": [ {"name": "nehakadam"} diff --git a/demo/BasicDatePicker.htm b/demo/BasicDatePicker.htm index 8aa425d..bd8f793 100644 --- a/demo/BasicDatePicker.htm +++ b/demo/BasicDatePicker.htm @@ -8,8 +8,9 @@ - - + + +