rocky 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
data/lib/rocky/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
class Middleware.Component.Modal extends Middleware.System.Base
|
2
2
|
@create: (selector) ->
|
3
3
|
$("body").append("<div class='modal' data-block='#{selector}'></div>")
|
4
|
-
|
4
|
+
Middleware.System.Modal.bindOne("*[data-block='#{selector}']")
|
5
5
|
|
6
6
|
constructor: (@container) ->
|
7
7
|
super(@container)
|