zafu 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +5 -0
- data/lib/zafu/info.rb +1 -1
- data/lib/zafu/process/ajax.rb +0 -1
- data/lib/zafu/process/context.rb +5 -1
- data/zafu.gemspec +2 -2
- metadata +3 -3
data/History.txt
CHANGED
data/lib/zafu/info.rb
CHANGED
data/lib/zafu/process/ajax.rb
CHANGED
@@ -288,7 +288,6 @@ module Zafu
|
|
288
288
|
# Set a unique DOM prefix to build unique ids in the page.
|
289
289
|
def set_dom_prefix(node = self.node)
|
290
290
|
@name ||= unique_name
|
291
|
-
raise if @name == 'list3'
|
292
291
|
# TODO: should rebuild descendants list in parents...
|
293
292
|
node.dom_prefix = @name
|
294
293
|
end
|
data/lib/zafu/process/context.rb
CHANGED
@@ -34,7 +34,11 @@ module Zafu
|
|
34
34
|
|
35
35
|
with_context(:node => node.move_to(var, node.klass.first)) do
|
36
36
|
# The id set here should be used as prefix for sub-nodes to ensure uniqueness of generated DOM ids
|
37
|
-
node.
|
37
|
+
if node.list_context?
|
38
|
+
# we are still in a list (example: previous context was [[Node]], current is [Node])
|
39
|
+
else
|
40
|
+
node.propagate_dom_scope!
|
41
|
+
end
|
38
42
|
|
39
43
|
steal_and_eval_html_params_for(@markup, @params)
|
40
44
|
|
data/zafu.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{zafu}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Gaspard Bucher"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-08-25}
|
13
13
|
s.description = %q{Provides a powerful templating language based on xhtml for rails}
|
14
14
|
s.email = %q{gaspard@teti.ch}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 0.6.
|
8
|
+
- 3
|
9
|
+
version: 0.6.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Gaspard Bucher
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-08-25 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|