inesita 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -2
- data/inesita.gemspec +1 -1
- data/opal/inesita/component_virtual_dom_extension.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6be0649af7783de7b8fb6190ad10c6af05f669b
|
4
|
+
data.tar.gz: 67d1de5528bc2f305a7e25f2a17d04a7b4e5b7b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e2f444359a3c116e29da1a6b1314f4ebd9062d9218e7cb8aa698da6326616c841fdd89edda8472cb292279f427bb590e46373793343cdc9ca4d60d1e8b4492c
|
7
|
+
data.tar.gz: 8fc62c7338ff1a8e9799a9624d82635625c77d867057e9fa6f183bcaa9a772314eb6b154e96d758d125057a964203de7ca2d5aad310c76897d57a545c4c7f090
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
## [0.5.
|
1
|
+
## [0.5.1] - 2016.10.29
|
2
|
+
|
3
|
+
### Fixes
|
4
|
+
- Error when router not exists
|
5
|
+
|
6
|
+
|
7
|
+
## [0.5.0] - 2016.10.29
|
2
8
|
|
3
9
|
### Added
|
4
10
|
- Injection (you can inject any object)
|
@@ -86,7 +92,9 @@
|
|
86
92
|
- rename `update_dom` to `render!`
|
87
93
|
- use `opal-browser` instead of pure javascript
|
88
94
|
|
89
|
-
[Unreleased]: https://github.com/inesita-rb/inesita/compare/v0.
|
95
|
+
[Unreleased]: https://github.com/inesita-rb/inesita/compare/v0.5.1...HEAD
|
96
|
+
[0.5.1]: https://github.com/inesita-rb/inesita/compare/v0.5.0...v0.5.1
|
97
|
+
[0.5.0]: https://github.com/inesita-rb/inesita/compare/v0.4.1...v0.5.0
|
90
98
|
[0.4.4]: https://github.com/inesita-rb/inesita/compare/v0.4.1...v0.4.4
|
91
99
|
[0.4.1]: https://github.com/inesita-rb/inesita/compare/v0.4.0...v0.4.1
|
92
100
|
[0.4.0]: https://github.com/inesita-rb/inesita/compare/v0.3.5...v0.4.0
|
data/inesita.gemspec
CHANGED
@@ -3,7 +3,7 @@ module Inesita
|
|
3
3
|
def self.included(base)
|
4
4
|
base.alias_method :__a, :a
|
5
5
|
base.define_method(:a) do |params, &block|
|
6
|
-
params = { onclick: -> { router.go_to(params[:href]) } }.merge(params) if params[:href] && router
|
6
|
+
params = { onclick: -> { router.go_to(params[:href]) } }.merge(params) if params[:href] && respond_to?(:router)
|
7
7
|
__a(params, &block)
|
8
8
|
end
|
9
9
|
end
|