w2tags 0.9.58 → 0.9.59
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/Manifest.txt +80 -90
- data/hot/demo.hot +21 -7
- data/hot/html.hot +8 -0
- data/lib/w2tags/block/block_hot.rb +1 -1
- data/lib/w2tags/block/sass.rb +1 -1
- data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/csscolors.css +0 -0
- data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/jscolors.css +0 -0
- data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/rubycolors.css +5 -3
- data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/xmlcolors.css +0 -0
- data/lib/{w2tags/try/public/img → /w2tags//try//public//img/}/loading.gif +0 -0
- data/lib/{w2tags/try/public/javascripts → /w2tags//try//public//javascripts/}/jquery.cluetip.js +0 -0
- data/lib/{w2tags/try/public/javascripts → /w2tags//try//public//javascripts/}/jquery.js +0 -0
- data/lib/{w2tags/try/public/javascripts → /w2tags//try//public//javascripts/}/jquery.live.accordion.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/codemirror.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/editor.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/highlight.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/mirrorframe.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsecss.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsehtmlmixed.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsejavascript.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsew2tags.js +25 -9
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsexml.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/select.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/stringstream.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/tokenize.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/tokenizejavascript.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/undo.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/util.js +0 -0
- data/lib/{w2tags/try/public → /w2tags//try//public/}/skyeight.jpeg +0 -0
- data/lib/{w2tags/try/public/stylesheets/back → /w2tags//try//public//stylesheets//back/}/back_menu.gif +0 -0
- data/lib/{w2tags/try/public/stylesheets/icons → /w2tags//try//public//stylesheets//icons/}/folder-closed.gif +0 -0
- data/lib/{w2tags/try/public/stylesheets/icons → /w2tags//try//public//stylesheets//icons/}/folder-open.gif +0 -0
- data/lib/{w2tags/try/public/stylesheets/icons → /w2tags//try//public//stylesheets//icons/}/leaf.gif +0 -0
- data/lib/{w2tags/try/public/stylesheets → /w2tags//try//public//stylesheets/}/jquery.cluetip.css +0 -0
- data/lib/{w2tags/try/public/stylesheets → /w2tags//try//public//stylesheets/}/jquery.live.accordion.css +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic1.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic2.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic3.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic4.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/check_onhot.w2erb +0 -0
- data/lib//w2tags//try//public//w2//checkbox.w2erb +16 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/combo_onhot.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/combobox.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/demo.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/diet.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/diet1.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/each.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/each2.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/erb_base.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/erb_rails.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/html.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/if.w2erb +0 -0
- data/lib//w2tags//try//public//w2//input.w2erb +18 -0
- data/lib//w2tags//try//public//w2//input_inhot.w2erb +10 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/layout.w2erb +0 -0
- data/lib//w2tags//try//public//w2//layout1.w2erb +7 -0
- data/lib//w2tags//try//public//w2//layout2.w2erb +20 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/navigation.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/nestli.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/params.erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/params.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/popup.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/popup2.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/rails.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/table_each2.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/table_onhot.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/table_simple.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/try.rb.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/upload.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/vcard.w2erb +0 -0
- data/lib/{w2tags/try → /w2tags//try/}/try.rb +0 -0
- data/lib/{w2tags/try/views → /w2tags//try//views/}/index.erb +22 -9
- data/lib/{w2tags/try/views → /w2tags//try//views/}/layout.erb +0 -0
- data/lib/{w2tags/try/views → /w2tags//try//views/}/parse.erb +0 -0
- data/tasks/setup.rb +1 -1
- metadata +72 -149
- data/hot/erb_form.hot +0 -42
- data/hot/erb_head.hot +0 -15
- data/hot/erb_jquery.hot +0 -8
- data/hot/erb_merb.hot +0 -12
- data/hot/erb_table.hot +0 -43
- data/hot/jquery.hot +0 -88
- data/hot/nvelocity.hot +0 -23
- data/hot/vm.hot +0 -9
- data/hot/vm2.hot +0 -34
- data/hot/vm_crud.hot +0 -34
- data/hot/vm_popup.hot +0 -74
- data/hot/xul.hot +0 -114
- data/lib/w2tags/try/public/w2/checkbox.w2erb +0 -22
- data/lib/w2tags/try/public/w2/layout1.w2erb +0 -20
- data/lib/w2tags/try/public/w2/layout2.w2erb +0 -17
data/Manifest.txt
CHANGED
|
@@ -21,102 +21,92 @@ lib/w2tags/block/plain_text.rb
|
|
|
21
21
|
lib/w2tags/block/remark.rb
|
|
22
22
|
lib/w2tags/block/sass.rb
|
|
23
23
|
lib/w2tags/try
|
|
24
|
-
lib
|
|
25
|
-
lib
|
|
26
|
-
lib
|
|
27
|
-
lib
|
|
28
|
-
lib
|
|
29
|
-
lib
|
|
30
|
-
lib
|
|
31
|
-
lib
|
|
32
|
-
lib
|
|
33
|
-
lib
|
|
34
|
-
lib
|
|
35
|
-
lib
|
|
36
|
-
lib
|
|
37
|
-
lib
|
|
38
|
-
lib
|
|
39
|
-
lib
|
|
40
|
-
lib
|
|
41
|
-
lib
|
|
42
|
-
lib
|
|
43
|
-
lib
|
|
44
|
-
lib
|
|
45
|
-
lib
|
|
46
|
-
lib
|
|
47
|
-
lib
|
|
48
|
-
lib
|
|
49
|
-
lib
|
|
50
|
-
lib
|
|
51
|
-
lib
|
|
52
|
-
lib
|
|
53
|
-
lib
|
|
54
|
-
lib
|
|
55
|
-
lib
|
|
56
|
-
lib
|
|
57
|
-
lib
|
|
58
|
-
lib
|
|
59
|
-
lib
|
|
60
|
-
lib
|
|
61
|
-
lib
|
|
62
|
-
lib
|
|
63
|
-
lib
|
|
64
|
-
lib
|
|
65
|
-
lib
|
|
66
|
-
lib
|
|
67
|
-
lib
|
|
68
|
-
lib
|
|
69
|
-
lib
|
|
70
|
-
lib
|
|
71
|
-
lib
|
|
72
|
-
lib
|
|
73
|
-
lib
|
|
74
|
-
lib
|
|
75
|
-
lib
|
|
76
|
-
lib
|
|
77
|
-
lib
|
|
78
|
-
lib
|
|
79
|
-
lib
|
|
80
|
-
lib
|
|
81
|
-
lib
|
|
82
|
-
lib
|
|
83
|
-
lib
|
|
84
|
-
lib
|
|
85
|
-
lib
|
|
86
|
-
lib
|
|
87
|
-
lib
|
|
88
|
-
lib
|
|
89
|
-
lib
|
|
90
|
-
lib
|
|
91
|
-
lib
|
|
92
|
-
lib
|
|
93
|
-
lib
|
|
94
|
-
lib
|
|
95
|
-
lib
|
|
96
|
-
lib
|
|
97
|
-
lib
|
|
98
|
-
lib
|
|
99
|
-
lib
|
|
100
|
-
lib
|
|
101
|
-
lib
|
|
24
|
+
lib\w2tags\try\public
|
|
25
|
+
lib\w2tags\try\try.rb
|
|
26
|
+
lib\w2tags\try\views
|
|
27
|
+
lib\w2tags\try\public\css
|
|
28
|
+
lib\w2tags\try\public\img
|
|
29
|
+
lib\w2tags\try\public\javascripts
|
|
30
|
+
lib\w2tags\try\public\js
|
|
31
|
+
lib\w2tags\try\public\skyeight.jpeg
|
|
32
|
+
lib\w2tags\try\public\stylesheets
|
|
33
|
+
lib\w2tags\try\public\w2
|
|
34
|
+
lib\w2tags\try\public\css\csscolors.css
|
|
35
|
+
lib\w2tags\try\public\css\jscolors.css
|
|
36
|
+
lib\w2tags\try\public\css\rubycolors.css
|
|
37
|
+
lib\w2tags\try\public\css\xmlcolors.css
|
|
38
|
+
lib\w2tags\try\public\img\loading.gif
|
|
39
|
+
lib\w2tags\try\public\javascripts\jquery.cluetip.js
|
|
40
|
+
lib\w2tags\try\public\javascripts\jquery.js
|
|
41
|
+
lib\w2tags\try\public\javascripts\jquery.live.accordion.js
|
|
42
|
+
lib\w2tags\try\public\js\codemirror.js
|
|
43
|
+
lib\w2tags\try\public\js\editor.js
|
|
44
|
+
lib\w2tags\try\public\js\highlight.js
|
|
45
|
+
lib\w2tags\try\public\js\mirrorframe.js
|
|
46
|
+
lib\w2tags\try\public\js\parsecss.js
|
|
47
|
+
lib\w2tags\try\public\js\parsehtmlmixed.js
|
|
48
|
+
lib\w2tags\try\public\js\parsejavascript.js
|
|
49
|
+
lib\w2tags\try\public\js\parsew2tags.js
|
|
50
|
+
lib\w2tags\try\public\js\parsexml.js
|
|
51
|
+
lib\w2tags\try\public\js\select.js
|
|
52
|
+
lib\w2tags\try\public\js\stringstream.js
|
|
53
|
+
lib\w2tags\try\public\js\tokenize.js
|
|
54
|
+
lib\w2tags\try\public\js\tokenizejavascript.js
|
|
55
|
+
lib\w2tags\try\public\js\undo.js
|
|
56
|
+
lib\w2tags\try\public\js\util.js
|
|
57
|
+
lib\w2tags\try\public\stylesheets\back
|
|
58
|
+
lib\w2tags\try\public\stylesheets\icons
|
|
59
|
+
lib\w2tags\try\public\stylesheets\jquery.cluetip.css
|
|
60
|
+
lib\w2tags\try\public\stylesheets\jquery.live.accordion.css
|
|
61
|
+
lib\w2tags\try\public\stylesheets\back\back_menu.gif
|
|
62
|
+
lib\w2tags\try\public\stylesheets\icons\folder-closed.gif
|
|
63
|
+
lib\w2tags\try\public\stylesheets\icons\folder-open.gif
|
|
64
|
+
lib\w2tags\try\public\stylesheets\icons\leaf.gif
|
|
65
|
+
lib\w2tags\try\public\w2\basic.w2erb
|
|
66
|
+
lib\w2tags\try\public\w2\basic1.w2erb
|
|
67
|
+
lib\w2tags\try\public\w2\basic2.w2erb
|
|
68
|
+
lib\w2tags\try\public\w2\basic3.w2erb
|
|
69
|
+
lib\w2tags\try\public\w2\basic4.w2erb
|
|
70
|
+
lib\w2tags\try\public\w2\checkbox.w2erb
|
|
71
|
+
lib\w2tags\try\public\w2\check_onhot.w2erb
|
|
72
|
+
lib\w2tags\try\public\w2\combobox.w2erb
|
|
73
|
+
lib\w2tags\try\public\w2\combo_onhot.w2erb
|
|
74
|
+
lib\w2tags\try\public\w2\demo.hot.html
|
|
75
|
+
lib\w2tags\try\public\w2\diet.w2erb
|
|
76
|
+
lib\w2tags\try\public\w2\diet1.w2erb
|
|
77
|
+
lib\w2tags\try\public\w2\each.w2erb
|
|
78
|
+
lib\w2tags\try\public\w2\each2.w2erb
|
|
79
|
+
lib\w2tags\try\public\w2\erb_base.hot.html
|
|
80
|
+
lib\w2tags\try\public\w2\erb_rails.hot.html
|
|
81
|
+
lib\w2tags\try\public\w2\html.hot.html
|
|
82
|
+
lib\w2tags\try\public\w2\if.w2erb
|
|
83
|
+
lib\w2tags\try\public\w2\input.w2erb
|
|
84
|
+
lib\w2tags\try\public\w2\input_inhot.w2erb
|
|
85
|
+
lib\w2tags\try\public\w2\layout.w2erb
|
|
86
|
+
lib\w2tags\try\public\w2\layout1.w2erb
|
|
87
|
+
lib\w2tags\try\public\w2\layout2.w2erb
|
|
88
|
+
lib\w2tags\try\public\w2\navigation.w2erb
|
|
89
|
+
lib\w2tags\try\public\w2\nestli.w2erb
|
|
90
|
+
lib\w2tags\try\public\w2\params.erb
|
|
91
|
+
lib\w2tags\try\public\w2\params.w2erb
|
|
92
|
+
lib\w2tags\try\public\w2\popup.w2erb
|
|
93
|
+
lib\w2tags\try\public\w2\popup2.w2erb
|
|
94
|
+
lib\w2tags\try\public\w2\rails.hot.html
|
|
95
|
+
lib\w2tags\try\public\w2\table_each2.w2erb
|
|
96
|
+
lib\w2tags\try\public\w2\table_onhot.w2erb
|
|
97
|
+
lib\w2tags\try\public\w2\table_simple.w2erb
|
|
98
|
+
lib\w2tags\try\public\w2\try.rb.hot.html
|
|
99
|
+
lib\w2tags\try\public\w2\upload.w2erb
|
|
100
|
+
lib\w2tags\try\public\w2\vcard.w2erb
|
|
101
|
+
lib\w2tags\try\views\index.erb
|
|
102
|
+
lib\w2tags\try\views\layout.erb
|
|
103
|
+
lib\w2tags\try\views\parse.erb
|
|
102
104
|
hot/demo.hot
|
|
103
105
|
hot/erb.hot
|
|
104
106
|
hot/erb_base.hot
|
|
105
|
-
hot/erb_form.hot
|
|
106
|
-
hot/erb_head.hot
|
|
107
|
-
hot/erb_jquery.hot
|
|
108
|
-
hot/erb_merb.hot
|
|
109
107
|
hot/erb_rails.hot
|
|
110
|
-
hot/erb_table.hot
|
|
111
108
|
hot/html.hot
|
|
112
|
-
hot/jquery.hot
|
|
113
|
-
hot/nvelocity.hot
|
|
114
109
|
hot/rails.hot
|
|
115
|
-
hot/vm2.hot
|
|
116
|
-
hot/vm.hot
|
|
117
|
-
hot/vm_crud.hot
|
|
118
|
-
hot/vm_popup.hot
|
|
119
|
-
hot/xul.hot
|
|
120
110
|
hot/rails/scaffold.hot
|
|
121
111
|
hot/rails/sc_zebra.hot
|
|
122
112
|
spec/spec_helper.rb
|
data/hot/demo.hot
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
>>_nav
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
%ul$#
|
|
3
|
+
-itm$. $*
|
|
4
4
|
|
|
5
5
|
>>_itm
|
|
6
6
|
%li$. <a href="#">$0</a>
|
|
@@ -20,11 +20,25 @@
|
|
|
20
20
|
^{value="=$1"}= $2
|
|
21
21
|
|
|
22
22
|
>>_check
|
|
23
|
-
%
|
|
24
|
-
|
|
25
|
-
$0
|
|
23
|
+
%input$#{type="checkbox"}
|
|
24
|
+
%label{for="*#"} $0
|
|
26
25
|
|
|
27
26
|
>>_area
|
|
28
|
-
%label{for="*#"} $0
|
|
29
|
-
|
|
27
|
+
%label{for="*#"} $0
|
|
28
|
+
%textarea:*#$#$@
|
|
29
|
+
|
|
30
|
+
>>_input
|
|
31
|
+
%label{for="*#"} $0
|
|
32
|
+
:*#$#{type="text"}
|
|
33
|
+
|
|
34
|
+
>>_tarea_li
|
|
35
|
+
%li
|
|
36
|
+
-area$$ $0
|
|
37
|
+
|
|
38
|
+
>>_input_li
|
|
39
|
+
%li
|
|
40
|
+
-input$$ $0
|
|
30
41
|
|
|
42
|
+
>>_submit_li
|
|
43
|
+
%li$$
|
|
44
|
+
%button{type="submit"} $0
|
data/hot/html.hot
CHANGED
data/lib/w2tags/block/sass.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
.editbox {
|
|
2
|
-
|
|
2
|
+
/*padding: .4em;
|
|
3
|
+
line-height: 1.1em;*/
|
|
4
|
+
line-height:1.02em;
|
|
3
5
|
margin: 0;
|
|
4
6
|
font-family: inconsolata, consolas, monospace;
|
|
5
7
|
font-size: 12pt;
|
|
6
|
-
line-height: 1.1em;
|
|
7
8
|
color: black;
|
|
8
9
|
background-color:#000000;
|
|
9
10
|
color:#F8F8F8;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
.editbox .rb-linenum {
|
|
14
|
+
line-height:1.02em;
|
|
13
15
|
background-color:#EEEEEE;
|
|
14
16
|
color:#888888;
|
|
15
|
-
|
|
17
|
+
/* padding:0.1em 1em 0.2em 0;*/
|
|
16
18
|
width:75px;
|
|
17
19
|
}
|
|
18
20
|
.editbox .rb-pan {
|
|
File without changes
|
|
File without changes
|
data/lib/{w2tags/try/public/javascripts → /w2tags//try//public//javascripts/}/jquery.cluetip.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -14,10 +14,19 @@ var CSSParser = Editor.Parser = (function() {
|
|
|
14
14
|
if (ch == "=") { source.nextWhileMatches(/\w/); return "rb-operator"; } else
|
|
15
15
|
if (ch == "@") { source.nextWhileMatches(/\w/); return "rb-keyword"; } else
|
|
16
16
|
if (ch == "$") { source.nextWhileMatches(/[\d*]/); return "rb-regexp"; } else
|
|
17
|
+
if (ch == "!" && source.equals("h")) { source.nextWhileMatches(/./); return "rb-regexp"; } else
|
|
17
18
|
if (ch == "!" && source.equals("H")) { source.nextWhileMatches(/./); return "rb-regexp"; } else
|
|
18
19
|
if (ch == "/" && source.equals("*")) {
|
|
19
20
|
setState(inCComment);
|
|
20
21
|
return null;
|
|
22
|
+
} /*
|
|
23
|
+
else if (ch == "@") {
|
|
24
|
+
source.nextWhileMatches(/\w/);
|
|
25
|
+
return "css-at";
|
|
26
|
+
}
|
|
27
|
+
else if (ch == "/" && source.equals("*")) {
|
|
28
|
+
setState(inCComment);
|
|
29
|
+
return null;
|
|
21
30
|
}
|
|
22
31
|
else if (ch == "<" && source.equals("!")) {
|
|
23
32
|
setState(inSGMLComment);
|
|
@@ -29,15 +38,20 @@ var CSSParser = Editor.Parser = (function() {
|
|
|
29
38
|
else if (source.equals("=") && (ch == "~" || ch == "|")) {
|
|
30
39
|
source.next();
|
|
31
40
|
return "css-compare";
|
|
32
|
-
}
|
|
41
|
+
} */
|
|
33
42
|
else if (ch == "\"" || ch == "'") {
|
|
34
43
|
setState(inString(ch));
|
|
35
44
|
return null;
|
|
36
|
-
}
|
|
45
|
+
} /*
|
|
37
46
|
else if (ch == "#") {
|
|
38
47
|
source.nextWhileMatches(/\w/);
|
|
39
48
|
return "css-hash";
|
|
40
49
|
}
|
|
50
|
+
else if (ch == "!") {
|
|
51
|
+
source.nextWhileMatches(/[ \t]/);
|
|
52
|
+
source.nextWhileMatches(/\w/);
|
|
53
|
+
return "css-important";
|
|
54
|
+
} */
|
|
41
55
|
else if (/\d/.test(ch)) {
|
|
42
56
|
source.nextWhileMatches(/[\w.%]/);
|
|
43
57
|
return "css-unit";
|
|
@@ -46,7 +60,7 @@ var CSSParser = Editor.Parser = (function() {
|
|
|
46
60
|
return "css-select-op";
|
|
47
61
|
}
|
|
48
62
|
else if (/[;{}:\[\]]/.test(ch)) {
|
|
49
|
-
return "
|
|
63
|
+
return "css-punctuation";
|
|
50
64
|
}
|
|
51
65
|
else {
|
|
52
66
|
source.nextWhileMatches(/[\w\\\-_]/);
|
|
@@ -66,7 +80,7 @@ var CSSParser = Editor.Parser = (function() {
|
|
|
66
80
|
}
|
|
67
81
|
return "css-comment";
|
|
68
82
|
}
|
|
69
|
-
|
|
83
|
+
/*
|
|
70
84
|
function inSGMLComment(source, setState) {
|
|
71
85
|
var dashes = 0;
|
|
72
86
|
while (!source.endOfLine()) {
|
|
@@ -78,7 +92,7 @@ var CSSParser = Editor.Parser = (function() {
|
|
|
78
92
|
dashes = (ch == "-") ? dashes + 1 : 0;
|
|
79
93
|
}
|
|
80
94
|
return "css-comment";
|
|
81
|
-
}
|
|
95
|
+
}*/
|
|
82
96
|
|
|
83
97
|
function inString(quote) {
|
|
84
98
|
return function(source, setState) {
|
|
@@ -91,7 +105,7 @@ var CSSParser = Editor.Parser = (function() {
|
|
|
91
105
|
}
|
|
92
106
|
if (!escaped)
|
|
93
107
|
setState(normal);
|
|
94
|
-
return "
|
|
108
|
+
return "css-string";
|
|
95
109
|
};
|
|
96
110
|
}
|
|
97
111
|
|
|
@@ -102,9 +116,11 @@ var CSSParser = Editor.Parser = (function() {
|
|
|
102
116
|
|
|
103
117
|
function indentCSS(inBraces, inRule, base) {
|
|
104
118
|
return function(nextChars) {
|
|
105
|
-
if (!inBraces || /^\}/.test(nextChars)) return base;
|
|
106
|
-
else
|
|
107
|
-
|
|
119
|
+
/*if (!inBraces || /^\}/.test(nextChars)) return base;
|
|
120
|
+
else
|
|
121
|
+
if (inRule) return base + indentUnit * 2;
|
|
122
|
+
else return base + indentUnit; */
|
|
123
|
+
return 0;
|
|
108
124
|
};
|
|
109
125
|
}
|
|
110
126
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/{w2tags/try/public/stylesheets/icons → /w2tags//try//public//stylesheets//icons/}/leaf.gif
RENAMED
|
File without changes
|
data/lib/{w2tags/try/public/stylesheets → /w2tags//try//public//stylesheets/}/jquery.cluetip.css
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
%fieldset
|
|
2
|
+
%legend Which of the following sports do you enjoy?
|
|
3
|
+
%input#football{type="checkbox"}
|
|
4
|
+
%label{for="football"} Football
|
|
5
|
+
%input#golf{type="checkbox"}
|
|
6
|
+
%label{for="golf"} Golf
|
|
7
|
+
%input#rugby{type="checkbox"}
|
|
8
|
+
%label{for="rugby"} Rugby
|
|
9
|
+
%input#tennis{type="checkbox"}
|
|
10
|
+
%label{for="tennis"} Tennis
|
|
11
|
+
%input#basketball{type="checkbox"}
|
|
12
|
+
%label{for="basketball"} Basketball
|
|
13
|
+
%input#boxing{type="checkbox"}
|
|
14
|
+
%label{for="boxing"} Boxing
|
|
15
|
+
%label{for="comments"} Comments
|
|
16
|
+
%textarea#comments{rows="7" cols="25"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
-#http://webdesignernotebook.com/examples/style-form.html
|
|
2
|
+
%form{action="/form"}
|
|
3
|
+
%p Send us your comments and feedback:
|
|
4
|
+
%ol
|
|
5
|
+
%li
|
|
6
|
+
%label{for="name"} Name
|
|
7
|
+
:name#name{type="text"}
|
|
8
|
+
%li
|
|
9
|
+
%label{for="email"} Email
|
|
10
|
+
:email#email{type="text"}
|
|
11
|
+
%li
|
|
12
|
+
%label{for="website"} Website
|
|
13
|
+
:website#website{type="text"}
|
|
14
|
+
%li
|
|
15
|
+
%label{for="message"} Message
|
|
16
|
+
%textarea:message#message
|
|
17
|
+
%li#send
|
|
18
|
+
%button{type="submit"} Send
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
-#http://webdesignernotebook.com/examples/style-form.html
|
|
2
|
+
!hot!demo
|
|
3
|
+
%form{action="/form"}
|
|
4
|
+
%p Send us your comments and feedback:
|
|
5
|
+
%ol
|
|
6
|
+
-input_li#name Name
|
|
7
|
+
-input_li#email Email
|
|
8
|
+
-input_li#website Website
|
|
9
|
+
-tarea_li#message Message
|
|
10
|
+
-submit_li#send Send
|
|
File without changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
%xhtml 1.1
|
|
2
|
+
%head
|
|
3
|
+
= stylesheet_link_tag "compiled/screen.css", :media => "screen, projection"
|
|
4
|
+
= stylesheet_link_tag "compiled/print.css", :media => "print"
|
|
5
|
+
-ie
|
|
6
|
+
= stylesheet_link_tag "compiled/ie.css", :media => "screen, projection"
|
|
7
|
+
%body
|
|
8
|
+
.container
|
|
9
|
+
#Header
|
|
10
|
+
= link_to "Wikicards", root_path
|
|
11
|
+
#Main
|
|
12
|
+
.content
|
|
13
|
+
-each2 flash;key,value
|
|
14
|
+
= content_tag 'p', h(value), :class => key.to_s
|
|
15
|
+
= yield
|
|
16
|
+
.navigation
|
|
17
|
+
navigation
|
|
18
|
+
#Footer
|
|
19
|
+
%hr
|
|
20
|
+
about blog
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|