cytoplasm 0.0.9 → 0.0.9.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -90,11 +90,14 @@
|
|
90
90
|
methods.value.apply(settings.widget.inputList.inputs.elements,[settings.widget.inputList.inputs.elements.filter(':checked').val()])
|
91
91
|
settings.events.change.apply(settings.widget.inputList.inputs.elements,[settings,e]);
|
92
92
|
})).trigger('change');
|
93
|
-
settings.widget.buttonList.buttons.elements.
|
94
|
-
e
|
95
|
-
|
96
|
-
|
97
|
-
|
93
|
+
settings.widget.buttonList.buttons.elements.bind({
|
94
|
+
mousedown:function(e){
|
95
|
+
e.preventDefault();
|
96
|
+
if ($(this).hasClass('active')) return false;
|
97
|
+
methods.value.apply($this,[$(this).data('cytoradio-value')]);
|
98
|
+
settings.widget.inputList.inputs.elements.trigger('change');
|
99
|
+
},
|
100
|
+
click:function(e){e.preventDefault();}
|
98
101
|
});
|
99
102
|
|
100
103
|
// Fire resize event
|
@@ -112,7 +115,7 @@
|
|
112
115
|
var $this = $(this);
|
113
116
|
if ($.inArray($this.attr('name'),namelist)>-1) return;
|
114
117
|
var settings = $this.data('cytoRadio');
|
115
|
-
if (!$this.hasClass('cytoRadio') || settings==null) return console.warn("You must instantiate
|
118
|
+
if (!$this.hasClass('cytoRadio') || settings==null) return console.warn("You must instantiate $.cytoRadio before you call the destroy method!");
|
116
119
|
|
117
120
|
// Move inputs back outside wrapper
|
118
121
|
settings.widget.inputList.inputs.elements.insertAfter(settings.widget.wrapper.element).show();
|
@@ -129,7 +132,7 @@
|
|
129
132
|
var $this = $(this);
|
130
133
|
if ($.inArray($this.attr('name'),namelist)>-1) return;
|
131
134
|
var settings = $this.data('cytoRadio');
|
132
|
-
if (!$this.hasClass('cytoRadio') || settings==null) return console.warn("You must instantiate
|
135
|
+
if (!$this.hasClass('cytoRadio') || settings==null) return console.warn("You must instantiate $.cytoRadio before you call the refresh method!");
|
133
136
|
|
134
137
|
methods.destroy.apply($this);
|
135
138
|
methods.init.apply($this,[settings,true]);
|
@@ -144,7 +147,7 @@
|
|
144
147
|
var $this = $(this);
|
145
148
|
if ($.inArray($this.attr('name'),namelist)>-1) return;
|
146
149
|
var settings = $this.data('cytoRadio');
|
147
|
-
if (!$this.hasClass('cytoRadio') || settings==null) return console.warn("You must instantiate
|
150
|
+
if (!$this.hasClass('cytoRadio') || settings==null) return console.warn("You must instantiate $.cytoRadio before you call the resize method!");
|
148
151
|
|
149
152
|
var w = settings.widget.wrapper.element.width(0).css({opacity:0});
|
150
153
|
var bl = settings.widget.buttonList.buttons.elements.width("auto");
|
@@ -165,7 +168,7 @@
|
|
165
168
|
var $this = $(this);
|
166
169
|
if ($.inArray($this.attr('name'),namelist)>-1) return;
|
167
170
|
var settings = $this.data('cytoRadio');
|
168
|
-
if (!$this.hasClass('cytoRadio') || settings==null) return console.warn("You must instantiate
|
171
|
+
if (!$this.hasClass('cytoRadio') || settings==null) return console.warn("You must instantiate $.cytoRadio before you call the value method!");
|
169
172
|
|
170
173
|
if (set===false) value = settings.widget.inputList.inputs.elements.filter(':checked').val();
|
171
174
|
else {
|
data/lib/cytoplasm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cytoplasm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.9
|
4
|
+
version: 0.0.9.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -91,6 +91,28 @@ dependencies:
|
|
91
91
|
- - ! '>='
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: therubyracer
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 0.11.0
|
102
|
+
- - ! '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 0.11.0beta1
|
105
|
+
type: :runtime
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 0.11.0
|
113
|
+
- - ! '>='
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 0.11.0beta1
|
94
116
|
- !ruby/object:Gem::Dependency
|
95
117
|
name: sqlite3
|
96
118
|
requirement: !ruby/object:Gem::Requirement
|
@@ -315,7 +337,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
315
337
|
version: '0'
|
316
338
|
segments:
|
317
339
|
- 0
|
318
|
-
hash: -
|
340
|
+
hash: -1105125516096558621
|
319
341
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
320
342
|
none: false
|
321
343
|
requirements:
|
@@ -324,7 +346,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
324
346
|
version: '0'
|
325
347
|
segments:
|
326
348
|
- 0
|
327
|
-
hash: -
|
349
|
+
hash: -1105125516096558621
|
328
350
|
requirements: []
|
329
351
|
rubyforge_project:
|
330
352
|
rubygems_version: 1.8.24
|