dom_routes 1.0.0 → 1.0.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: f167cc007cf2326be1d2256ea21feb8831efda1e
4
- data.tar.gz: 90e8ef89d35101a067341072c6b5cdc2ca020bc2
3
+ metadata.gz: c9b78fb130cecc358b4d8fafae57717f1e425dd8
4
+ data.tar.gz: 029808e9f242c0a6c1e0eae47b5e78f5093cc524
5
5
  SHA512:
6
- metadata.gz: 26a799981bc263a0cf8605eaf99d3b9aab819968e4790504f00cded7b11c59d8810973ea0701f66fa024e4d939d562ef64c4f91a4625a523114a6a04ef26636e
7
- data.tar.gz: 0b9afacb3fa28a6994e79de1a82966e40f7c48d96e43a393320a39d3b062a54224aa5f2804e67dcf1dcde9f8fd3d1c1b6a20682481eb689bac95b3e34c41d327
6
+ metadata.gz: 65e43e92f070a60c8b41100fe2eebd9b5539700f7309da161b5b42ec5bc69d7b4cc10194b2f72b9ac0062fccaac03d67b8c24ade90960c8d0a544111c0ea9008
7
+ data.tar.gz: 7f592fc95ac1b67cc81e874331b218478a8ba7ea715cb159f6a246e5896becdcf984a110f344f17efb74339db8952a103a5022a993e4ca3782a370aac6fcc68b
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # PokeJs
1
+ # DomRoutes
2
2
  Auto-magical scaffolding for
3
3
  [Paul Irish's DOM-based Routing](http://www.paulirish.com/2009/markup-based-unobtrusive-comprehensive-dom-ready-execution/)
4
4
  (or Garber-Irish Implementation) way of organizing your javascript.
@@ -57,9 +57,10 @@ Add this to your `app/assets/javascripts/application.js`
57
57
  Make sure your `app/views/layouts/application.html.erb` (and all your other layouts) looks like this:
58
58
  ```erb
59
59
  <html>
60
- <head>… <%= execute_js_routes %> …</head>
60
+ <head>...</head>
61
61
  <body data-controller="<%= js_route.controller_path %>" data-action="<%= js_route.action %>">
62
62
 
63
+ <%= execute_js_routes %>
63
64
  </body>
64
65
  </html>
65
66
  ```
@@ -22,7 +22,7 @@ DR = {
22
22
  },
23
23
  define_namespace: function(namespace_string, definition) {
24
24
  var found_namespace = DR.get_or_create(namespace_string);
25
- return $.extend(found_namespace, definition);
25
+ return $.extend(true, found_namespace, definition);
26
26
  },
27
27
 
28
28
  traverse_namespace: function(namespace, levels) {
@@ -1,3 +1,3 @@
1
1
  module DomRoutes
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dom_routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - s12chung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-17 00:00:00.000000000 Z
11
+ date: 2014-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails