RubyGems
npm
Organizations
Log in
Sign up
RubyGems
rocky
Versions diffs
0.0.8 → 0.0.9
rocky 0.0.8 → 0.0.9
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (4)
hide
show
data/lib/rocky/version.rb
+1
-1
data/vendor/assets/javascripts/middleware/component/json_form.js.coffee
+3
-0
data/vendor/assets/javascripts/middleware/system/base.js.coffee
+3
-0
metadata
+1
-1
data/lib/rocky/version.rb
CHANGED
Viewed
@@ -1,3 +1,3 @@
1
1
module Rocky
2
-
VERSION = "0.0.
8
"
2
+
VERSION = "0.0.
9
"
3
3
end
data/vendor/assets/javascripts/middleware/component/json_form.js.coffee
CHANGED
Viewed
@@ -9,6 +9,9 @@ class Middleware.Component.JsonForm extends Middleware.System.Base
9
9
else
10
10
@form = @container.find("form")
11
11
12
+
if @form.length == 0
13
+
return false
14
+
12
15
@setCompletedStatusName()
13
16
14
17
@form.on "ajax:success", @createResponse
data/vendor/assets/javascripts/middleware/system/base.js.coffee
CHANGED
Viewed
@@ -12,5 +12,8 @@ class Middleware.System.Base
12
12
@bindOne: (selector) ->
13
13
new @($(selector))
14
14
15
+
reBind: =>
16
+
@.constructor(@.container)
17
+
15
18
constructor: (@container) ->
16
19
_.extend(@, Backbone.Events)
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: rocky
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.
8
4
+
version: 0.0.
9
5
5
prerelease:
6
6
platform: ruby
7
7
authors: