sortablelabel-js 1.0 → 1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d0ef061a83ba428765d342e872d0644d334ec58
4
- data.tar.gz: 236dcb4749cda4c0535ee267bd7d5fdc06ada6cc
3
+ metadata.gz: 9c8988a5febbb6a36eef8f2abb7147e41b128e89
4
+ data.tar.gz: eaba667569867cd97aeeee6f232c8b7191825f5f
5
5
  SHA512:
6
- metadata.gz: 3f5fa2d1967ef4fa1255ad16effb7ec793431c5a4797330c35c12dd0ff6a9ac7b82845bbcd5037a7b8b68e74395f9973c5330144620c7c42fdc036a0029c5ef2
7
- data.tar.gz: 47c25fada8442e83ec88d1b4de7bc84abe1d08e70cc7efa8aca3c9cdeb9dbe012e6416ab000fb0e146c864b8d4b3e9335cd9295ec5bf7ba6ecc078c2c91f5fa2
6
+ metadata.gz: 4e1dd6a2b5f72f3687c0d872d2d7c9d73f71440e70dad22c6c598fc81ea781dc0d074579538e1d4d1622a81a47af2c4aedce3f7735aa0e2512d4399f6ca0f65e
7
+ data.tar.gz: c5c8ad24134d2620a74f15bb678b099d110dbbb368ed81b4bd5028e2eaa799a3092e41c00fb41c5fe99976919e9b2b2fd2412c6f65eb53ebc1eba16ce2ad08d4
@@ -1,5 +1,5 @@
1
1
  module Sortablelabel
2
2
  module Js
3
- VERSION = "1.0"
3
+ VERSION = "1.1"
4
4
  end
5
5
  end
@@ -13,7 +13,7 @@ class @SortableLabel
13
13
  @options = $.extend({}, defaults, options)
14
14
  @target = scope
15
15
  @targetId = @options['fieldName'] || @target.attr('id')
16
- @callback = @options["callback"]
16
+ @stop_callback = @options["stop"]
17
17
  @calInitStepLable()
18
18
 
19
19
  $(document).on("nested:fieldAdded:#{@targetId}", (event) =>
@@ -82,8 +82,8 @@ class @SortableLabel
82
82
  stepCount += 1
83
83
  )
84
84
  )
85
- if typeof(@callback) == 'function'
86
- @callback();
85
+ if typeof(@stop_callback) == 'function'
86
+ @stop_callback();
87
87
 
88
88
  calWeekGroupLabel: (target) ->
89
89
  _this = this
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sortablelabel-js
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-18 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler