whowish_word 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -83,6 +83,11 @@ WhowishWord renders it as:
83
83
  You are here 10 times already
84
84
  ```
85
85
 
86
+ Feature to be added
87
+ ---------------------
88
+
89
+ - Multi-language support
90
+
86
91
 
87
92
  Prerequisite
88
93
  -------------------
@@ -24,9 +24,9 @@ var whowishWordStorage = {};
24
24
 
25
25
  }
26
26
 
27
- $w('.whowishWordEditIcon').die('click');
27
+ $w('.whowishWordEditIcon').unbind('click');
28
28
  whowishWordHelper.repositionAllEditIconPanels();
29
- $w('.whowishWordEditIcon').live('click', whowishWordHelper.editHandler);
29
+ $w('.whowishWordEditIcon').bind('click', whowishWordHelper.editHandler);
30
30
 
31
31
  if (recurring != false) {
32
32
  setTimeout("$w.whowishWord(true);",1000);
@@ -19,6 +19,15 @@
19
19
  <span>
20
20
  <b>Text: </b> <%=word_for :text%>
21
21
  </span>
22
+ <span>
23
+ <b>Bullet: </b> <ul>
24
+ <li><%=word_for :text%></li>
25
+ <li><%=word_for :text%></li>
26
+ </ul>
27
+ </span>
28
+ <span>
29
+ <b>Anchor: </b> <a href="#"><%=word_for :text%></a>
30
+ </span>
22
31
  <span>
23
32
  <b>Label: </b> <label for="some_textbox"><%=word_for_attr :label_text%></label>
24
33
  <input type="text" name="some_textbox">
@@ -53,15 +62,17 @@
53
62
  <span>
54
63
  <b>Button(Input): </b> <input type="button"
55
64
  title="<%=word_for_attr :input_button_title%>"
56
- value="<%=word_for_attr :input_button_value%>" >
65
+ value="<%=word_for_attr :input_button_value%>"
66
+ onclick="alert('hello');">
57
67
  </span>
58
68
  <span>
59
69
  <b>Submit(Input): </b> <input type="submit"
60
70
  title="<%=word_for_attr :submit_title%>"
61
- value="<%=word_for_attr :submit_value%>" >
71
+ value="<%=word_for_attr :submit_value%>"
72
+ onclick="alert('hello');">
62
73
  </span>
63
74
  <span>
64
- <b>Button: </b> <button title="<%=word_for_attr :button_title%>"><%=word_for_attr :button_value%></button>
75
+ <b>Button: </b> <button title="<%=word_for_attr :button_title%>" onclick="alert('hello');"><%=word_for_attr :button_value%></button>
65
76
  </span>
66
77
  <span>
67
78
  <b>Late Text: </b> <span id="late_text"></span>
@@ -4,6 +4,15 @@
4
4
  <span>
5
5
  <b>Text: </b> <dfn>__whowishWord_______text_text|name,value_____text</dfn>
6
6
  </span>
7
+ <span>
8
+ <b>Bullet: </b> <ul>
9
+ <li><dfn>__whowishWord_______text_text|name,value_____text</dfn></li>
10
+ <li><dfn>__whowishWord_______text_text|name,value_____text</dfn></li>
11
+ </ul>
12
+ </span>
13
+ <span>
14
+ <b>Anchor: </b> <a href="#"><dfn>__whowishWord_______text_text|name,value_____text</dfn></a>
15
+ </span>
7
16
  <span>
8
17
  <b>Label: </b> <label for="some_textbox">__whowishWord_______text_label|name,value_____text</label>
9
18
  <input type="text" name="some_textbox">
data/whowish_word.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "whowish_word"
6
- s.version = "0.2.0"
6
+ s.version = "0.2.1"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Tanin Na Nakorn"]
9
9
  s.email = ["tanin47@yahoo.com"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whowish_word
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-27 00:00:00.000000000Z
12
+ date: 2011-10-06 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: A Rails gem that make static content editable
15
15
  email: