Skip to content

Commit

Permalink
thumbController button 인식되도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
이진오 committed Jul 12, 2017
1 parent 02a80be commit f06e945
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ module.exports = function ( grunt ) {
my_target: {
files: [{
expand: true,
cwd: 'bin/v<%= pkg.version %>',
cwd: 'bin/',
src: ['<%= pkg.name %>_<%= pkg.version %>.js'],
dest: 'bin/v<%= pkg.version %>/',
dest: 'bin/',
rename: function ( dest, src ) {
return dest + src.replace( /.js$/, '.min.js' );
}
Expand Down
8 changes: 4 additions & 4 deletions bin/ixSnack_0.4.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* ixSnack - Javascript Library (jQuery plugin)
* jQuery v1.8~ (http://jquery.com) + ixBand v1.0~ (http://ixband.com)
* @version v0.4.1 (1704130939)
* @version v0.4.2 (1707120928)
* The MIT License (MIT), http://ixsnack.com
*/
;(function ( $, $B ) {
Expand Down Expand Up @@ -29,7 +29,7 @@
* Plugin에서 사용하는 공통기능
*/
window.ixSnack = {
VERSION: '0.4.1',
VERSION: '0.4.2',
MS_POINTER: ( navigator.pointerEnabled || navigator.msPointerEnabled ),
TRANSFORM: (function () {
if ( !($B.ua.MSIE && $B.ua.DOC_MODE_IE10_LT) ) {
Expand Down Expand Up @@ -630,7 +630,7 @@ ixSnack.ThumbController = $B.Class.extend({
clear: function () {
this._$prevBtn.off( 'click', this._directionHandler );
this._$nextBtn.off( 'click', this._directionHandler );
this._$thumbs.off( 'click', 'a.ix-btn', this._thumbHandler );
this._$thumbs.off( 'click', '.ix-btn', this._thumbHandler );
this._$thumbArea.html( this._thumbHtml );
this._$controller.removeClass( 'disabled' );
this._$prevBtn.removeClass( 'disabled' ).removeAttr( 'aria-disabled' );
Expand Down Expand Up @@ -666,7 +666,7 @@ ixSnack.ThumbController = $B.Class.extend({

this._$prevBtn.on( 'click', this._directionHandler );
this._$nextBtn.on( 'click', this._directionHandler );
this._$thumbs.on( 'click', 'a.ix-btn', this._thumbHandler );
this._$thumbs.on( 'click', '.ix-btn', this._thumbHandler );
},

//좌우화살표 상태 처리
Expand Down
6 changes: 3 additions & 3 deletions bin/ixSnack_0.4.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ixSnack",
"version": "0.4",
"buildVersion": "0.4.1",
"buildVersion": "0.4.2",
"description": "ixSnack.js Development.",
"main": "bin/main.js",
"dependencies": {},
Expand Down
4 changes: 2 additions & 2 deletions src/ThumbController.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ixSnack.ThumbController = $B.Class.extend({
clear: function () {
this._$prevBtn.off( 'click', this._directionHandler );
this._$nextBtn.off( 'click', this._directionHandler );
this._$thumbs.off( 'click', 'a.ix-btn', this._thumbHandler );
this._$thumbs.off( 'click', '.ix-btn', this._thumbHandler );
this._$thumbArea.html( this._thumbHtml );
this._$controller.removeClass( 'disabled' );
this._$prevBtn.removeClass( 'disabled' ).removeAttr( 'aria-disabled' );
Expand Down Expand Up @@ -99,7 +99,7 @@ ixSnack.ThumbController = $B.Class.extend({

this._$prevBtn.on( 'click', this._directionHandler );
this._$nextBtn.on( 'click', this._directionHandler );
this._$thumbs.on( 'click', 'a.ix-btn', this._thumbHandler );
this._$thumbs.on( 'click', '.ix-btn', this._thumbHandler );
},

//좌우화살표 상태 처리
Expand Down

0 comments on commit f06e945

Please sign in to comment.