quick_script 0.3.2 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module QuickScript
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.4"
3
3
  end
@@ -130,6 +130,11 @@
130
130
  $(element).children('ul').first().children("li##{sel_tab}").addClass('selected')
131
131
  $(element).children('div').addClass('hidden')
132
132
  $(element).children("div##{sel_tab}").removeClass('hidden')
133
+ ko.bindingHandlers.tab_views =
134
+ update : (element, valueAccessor, bindingsAccessor, viewModel) ->
135
+ sel_tab = ko.utils.unwrapObservable(valueAccessor())
136
+ $(element).children('div').addClass('hidden')
137
+ $(element).children("div##{sel_tab}").removeClass('hidden')
133
138
 
134
139
  ko.bindingHandlers.calendar =
135
140
  init : (element, valueAccessor, bindingsAccessor, viewModel) ->
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quick_script
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alan Graham