Skip to content

Commit 81f5b28

Browse files
committed
#5 - Remove console.log from production
Update dist Bump version
1 parent efa7eb7 commit 81f5b28

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed

dist/jquery.hash-tabs.js

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

dist/jquery.hash-tabs.min.js

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hash-tabs",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Hash Tabs",
55
"keywords": [
66
"jquery-plugin"

src/jquery.hash-tabs.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
# fix for FF and Chrome not performing hash update on triggered click
160160
false if $(this)[0].href is "##{self.options.initialTabId?}" or $(this)[0].index is self.options.initialTabIndex
161161
targetHref = $(this)[0].href
162-
console.log "Pushed state #{targetHref}"
162+
console.log "Pushed state #{targetHref}" if @options.debug is on
163163
if window.history? and self.options.history is on
164164
history.pushState(self.options, "HashTabs", targetHref)
165165
else window.location.hash = targetHref.split("#")[1]

src/jquery.hash-tabs.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)