cable 0.9.15 → 0.9.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. data/VERSION +1 -1
  2. data/public/javascripts/tinymce/langs/en.js +54 -2
  3. data/public/javascripts/tinymce/plugins/advhr/langs/en_dlg.js +2 -0
  4. data/public/javascripts/tinymce/plugins/advhr/rule.htm +30 -29
  5. data/public/javascripts/tinymce/plugins/advimage/image.htm +34 -31
  6. data/public/javascripts/tinymce/plugins/advimage/js/image.js +4 -2
  7. data/public/javascripts/tinymce/plugins/advimage/langs/en_dlg.js +2 -0
  8. data/public/javascripts/tinymce/plugins/advlink/js/advlink.js +5 -10
  9. data/public/javascripts/tinymce/plugins/advlink/langs/en_dlg.js +4 -2
  10. data/public/javascripts/tinymce/plugins/advlink/link.htm +34 -29
  11. data/public/javascripts/tinymce/plugins/advlist/editor_plugin.js +1 -1
  12. data/public/javascripts/tinymce/plugins/advlist/editor_plugin_src.js +3 -3
  13. data/public/javascripts/tinymce/plugins/autolink/editor_plugin.js +1 -0
  14. data/public/javascripts/tinymce/plugins/autolink/editor_plugin_src.js +169 -0
  15. data/public/javascripts/tinymce/plugins/autosave/editor_plugin.js +1 -1
  16. data/public/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +13 -4
  17. data/public/javascripts/tinymce/plugins/bbcode/editor_plugin.js +1 -1
  18. data/public/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js +1 -1
  19. data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +1 -1
  20. data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +23 -14
  21. data/public/javascripts/tinymce/plugins/emotions/emotions.htm +15 -14
  22. data/public/javascripts/tinymce/plugins/fullpage/css/fullpage.css +6 -4
  23. data/public/javascripts/tinymce/plugins/fullpage/editor_plugin.js +1 -1
  24. data/public/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js +53 -8
  25. data/public/javascripts/tinymce/plugins/fullpage/fullpage.htm +2 -2
  26. data/public/javascripts/tinymce/plugins/fullpage/js/fullpage.js +45 -19
  27. data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +1 -1
  28. data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +10 -2
  29. data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js +1 -1
  30. data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js +76 -15
  31. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -10
  32. data/public/javascripts/tinymce/plugins/layer/editor_plugin.js +1 -1
  33. data/public/javascripts/tinymce/plugins/layer/editor_plugin_src.js +2 -0
  34. data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +1 -1
  35. data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +29 -26
  36. data/public/javascripts/tinymce/plugins/lists/editor_plugin.js +1 -0
  37. data/public/javascripts/tinymce/plugins/lists/editor_plugin_src.js +617 -0
  38. data/public/javascripts/tinymce/plugins/media/css/media.css +5 -4
  39. data/public/javascripts/tinymce/plugins/media/editor_plugin.js +1 -1
  40. data/public/javascripts/tinymce/plugins/media/editor_plugin_src.js +652 -296
  41. data/public/javascripts/tinymce/plugins/media/js/media.js +327 -603
  42. data/public/javascripts/tinymce/plugins/media/langs/en_dlg.js +8 -2
  43. data/public/javascripts/tinymce/plugins/media/media.htm +283 -288
  44. data/public/javascripts/tinymce/plugins/media/moxieplayer.swf +0 -0
  45. data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js +1 -1
  46. data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js +1 -1
  47. data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin.js +1 -1
  48. data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js +1 -4
  49. data/public/javascripts/tinymce/plugins/paste/editor_plugin.js +1 -1
  50. data/public/javascripts/tinymce/plugins/paste/editor_plugin_src.js +106 -128
  51. data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin.js +1 -1
  52. data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js +4 -0
  53. data/public/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js +14 -10
  54. data/public/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +17 -16
  55. data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +1 -1
  56. data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +55 -37
  57. data/public/javascripts/tinymce/plugins/style/js/props.js +2 -8
  58. data/public/javascripts/tinymce/plugins/style/langs/en_dlg.js +8 -1
  59. data/public/javascripts/tinymce/plugins/style/props.htm +513 -398
  60. data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +1 -1
  61. data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +30 -28
  62. data/public/javascripts/tinymce/plugins/table/cell.htm +12 -12
  63. data/public/javascripts/tinymce/plugins/table/editor_plugin.js +1 -1
  64. data/public/javascripts/tinymce/plugins/table/editor_plugin_src.js +85 -26
  65. data/public/javascripts/tinymce/plugins/table/js/cell.js +9 -11
  66. data/public/javascripts/tinymce/plugins/table/js/row.js +13 -18
  67. data/public/javascripts/tinymce/plugins/table/js/table.js +8 -12
  68. data/public/javascripts/tinymce/plugins/table/langs/en_dlg.js +1 -1
  69. data/public/javascripts/tinymce/plugins/table/merge_cells.htm +11 -11
  70. data/public/javascripts/tinymce/plugins/table/row.htm +10 -8
  71. data/public/javascripts/tinymce/plugins/table/table.htm +54 -53
  72. data/public/javascripts/tinymce/plugins/template/js/template.js +1 -1
  73. data/public/javascripts/tinymce/plugins/visualchars/editor_plugin.js +1 -1
  74. data/public/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js +1 -1
  75. data/public/javascripts/tinymce/plugins/wordcount/editor_plugin.js +1 -1
  76. data/public/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +35 -19
  77. data/public/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm +6 -5
  78. data/public/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm +6 -5
  79. data/public/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm +6 -5
  80. data/public/javascripts/tinymce/plugins/xhtmlxtras/cite.htm +5 -4
  81. data/public/javascripts/tinymce/plugins/xhtmlxtras/del.htm +9 -8
  82. data/public/javascripts/tinymce/plugins/xhtmlxtras/ins.htm +11 -10
  83. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js +0 -1
  84. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/del.js +2 -2
  85. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js +3 -5
  86. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js +4 -3
  87. data/public/javascripts/tinymce/themes/advanced/about.htm +3 -5
  88. data/public/javascripts/tinymce/themes/advanced/anchor.htm +5 -5
  89. data/public/javascripts/tinymce/themes/advanced/charmap.htm +39 -40
  90. data/public/javascripts/tinymce/themes/advanced/color_picker.htm +10 -9
  91. data/public/javascripts/tinymce/themes/advanced/editor_template.js +1 -1
  92. data/public/javascripts/tinymce/themes/advanced/editor_template_src.js +171 -40
  93. data/public/javascripts/tinymce/themes/advanced/image.htm +51 -51
  94. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/flash.gif +0 -0
  95. data/public/javascripts/tinymce/themes/advanced/img/iframe.gif +0 -0
  96. data/public/javascripts/tinymce/{plugins/pagebreak → themes/advanced}/img/pagebreak.gif +0 -0
  97. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/quicktime.gif +0 -0
  98. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/realmedia.gif +0 -0
  99. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/shockwave.gif +0 -0
  100. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/trans.gif +0 -0
  101. data/public/javascripts/tinymce/themes/advanced/img/video.gif +0 -0
  102. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/windowsmedia.gif +0 -0
  103. data/public/javascripts/tinymce/themes/advanced/js/about.js +1 -0
  104. data/public/javascripts/tinymce/themes/advanced/js/anchor.js +5 -0
  105. data/public/javascripts/tinymce/themes/advanced/js/charmap.js +26 -6
  106. data/public/javascripts/tinymce/themes/advanced/js/color_picker.js +108 -32
  107. data/public/javascripts/tinymce/themes/advanced/js/image.js +3 -1
  108. data/public/javascripts/tinymce/themes/advanced/js/link.js +4 -7
  109. data/public/javascripts/tinymce/themes/advanced/js/source_editor.js +1 -1
  110. data/public/javascripts/tinymce/themes/advanced/langs/en.js +8 -2
  111. data/public/javascripts/tinymce/themes/advanced/langs/en_dlg.js +6 -3
  112. data/public/javascripts/tinymce/themes/advanced/link.htm +27 -28
  113. data/public/javascripts/tinymce/themes/advanced/shortcuts.htm +47 -0
  114. data/public/javascripts/tinymce/themes/advanced/skins/default/content.css +11 -0
  115. data/public/javascripts/tinymce/themes/advanced/skins/default/ui.css +4 -4
  116. data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/content.css +23 -0
  117. data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css +105 -0
  118. data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css +101 -0
  119. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/content.css +10 -0
  120. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +1 -0
  121. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +5 -4
  122. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css +1 -1
  123. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css +1 -1
  124. data/public/javascripts/tinymce/themes/advanced/source_editor.htm +3 -3
  125. data/public/javascripts/tinymce/themes/simple/editor_template.js +1 -1
  126. data/public/javascripts/tinymce/themes/simple/editor_template_src.js +1 -2
  127. data/public/javascripts/tinymce/tiny_mce.js +1 -1
  128. data/public/javascripts/tinymce/tiny_mce_popup.js +1 -1
  129. data/public/javascripts/tinymce/tiny_mce_src.js +6383 -4025
  130. data/public/javascripts/tinymce/utils/form_utils.js +14 -4
  131. data/public/javascripts/tinymce/utils/mctabs.js +95 -10
  132. data/public/javascripts/tinymce/utils/validate.js +34 -2
  133. metadata +50 -93
  134. data/public/javascripts/tinymce/plugins/media/css/content.css +0 -6
  135. data/public/javascripts/tinymce/plugins/media/img/flv_player.swf +0 -0
  136. data/public/javascripts/tinymce/plugins/pagebreak/css/content.css +0 -1
  137. data/public/javascripts/tinymce/plugins/pagebreak/img/trans.gif +0 -0
  138. data/public/javascripts/tinymce/plugins/pdw/editor_plugin.js +0 -4
  139. data/public/javascripts/tinymce/plugins/pdw/editor_plugin_src.js +0 -158
  140. data/public/javascripts/tinymce/plugins/pdw/img/toolbars.gif +0 -0
  141. data/public/javascripts/tinymce/plugins/pdw/langs/en.js +0 -3
  142. data/public/javascripts/tinymce/plugins/pdw/langs/nl.js +0 -3
@@ -11,10 +11,14 @@
11
11
  var themeBaseURL = tinyMCEPopup.editor.baseURI.toAbsolute('themes/' + tinyMCEPopup.getParam("theme"));
12
12
 
13
13
  function getColorPickerHTML(id, target_form_element) {
14
- var h = "";
14
+ var h = "", dom = tinyMCEPopup.dom;
15
15
 
16
- h += '<a id="' + id + '_link" href="javascript:;" onclick="tinyMCEPopup.pickColor(event,\'' + target_form_element +'\');" onmousedown="return false;" class="pickcolor">';
17
- h += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '">&nbsp;</span></a>';
16
+ if (label = dom.select('label[for=' + target_form_element + ']')[0]) {
17
+ label.id = label.id || dom.uniqueId();
18
+ }
19
+
20
+ h += '<a role="button" aria-labelledby="' + id + '_label" id="' + id + '_link" href="javascript:;" onclick="tinyMCEPopup.pickColor(event,\'' + target_form_element +'\');" onmousedown="return false;" class="pickcolor">';
21
+ h += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '">&nbsp;<span id="' + id + '_label" class="mceVoiceLabel mceIconOnly" style="display:none;">' + tinyMCEPopup.getLang('browse') + '</span></span></a>';
18
22
 
19
23
  return h;
20
24
  }
@@ -67,6 +71,9 @@ function selectByValue(form_obj, field_name, value, add_custom, ignore_case) {
67
71
  if (!form_obj || !form_obj.elements[field_name])
68
72
  return;
69
73
 
74
+ if (!value)
75
+ value = "";
76
+
70
77
  var sel = form_obj.elements[field_name];
71
78
 
72
79
  var found = false;
@@ -171,7 +178,7 @@ function convertHexToRGB(col) {
171
178
  }
172
179
 
173
180
  function trimSize(size) {
174
- return size.replace(/([0-9\.]+)px|(%|in|cm|mm|em|ex|pt|pc)/, '$1$2');
181
+ return size.replace(/([0-9\.]+)(px|%|in|cm|mm|em|ex|pt|pc)/i, '$1$2');
175
182
  }
176
183
 
177
184
  function getCSSSize(size) {
@@ -183,6 +190,9 @@ function getCSSSize(size) {
183
190
  // Add px
184
191
  if (/^[0-9]+$/.test(size))
185
192
  size += 'px';
193
+ // Sanity check, IE doesn't like broken values
194
+ else if (!(/^[0-9\.]+(px|%|in|cm|mm|em|ex|pt|pc)$/i.test(size)))
195
+ return "";
186
196
 
187
197
  return size;
188
198
  }
@@ -10,6 +10,7 @@
10
10
 
11
11
  function MCTabs() {
12
12
  this.settings = [];
13
+ this.onChange = tinyMCEPopup.editor.windowManager.createInstance('tinymce.util.Dispatcher');
13
14
  };
14
15
 
15
16
  MCTabs.prototype.init = function(settings) {
@@ -28,26 +29,62 @@ MCTabs.prototype.getParam = function(name, default_value) {
28
29
  return value;
29
30
  };
30
31
 
31
- MCTabs.prototype.displayTab = function(tab_id, panel_id) {
32
- var panelElm, panelContainerElm, tabElm, tabContainerElm, selectionClass, nodes, i;
32
+ MCTabs.prototype.showTab =function(tab){
33
+ tab.className = 'current';
34
+ tab.setAttribute("aria-selected", true);
35
+ tab.setAttribute("aria-expanded", true);
36
+ tab.tabIndex = 0;
37
+ };
38
+
39
+ MCTabs.prototype.hideTab =function(tab){
40
+ var t=this;
41
+
42
+ tab.className = '';
43
+ tab.setAttribute("aria-selected", false);
44
+ tab.setAttribute("aria-expanded", false);
45
+ tab.tabIndex = -1;
46
+ };
47
+
48
+ MCTabs.prototype.showPanel = function(panel) {
49
+ panel.className = 'current';
50
+ panel.setAttribute("aria-hidden", false);
51
+ };
52
+
53
+ MCTabs.prototype.hidePanel = function(panel) {
54
+ panel.className = 'panel';
55
+ panel.setAttribute("aria-hidden", true);
56
+ };
57
+
58
+ MCTabs.prototype.getPanelForTab = function(tabElm) {
59
+ return tinyMCEPopup.dom.getAttrib(tabElm, "aria-controls");
60
+ };
61
+
62
+ MCTabs.prototype.displayTab = function(tab_id, panel_id, avoid_focus) {
63
+ var panelElm, panelContainerElm, tabElm, tabContainerElm, selectionClass, nodes, i, t = this;
64
+
65
+ tabElm = document.getElementById(tab_id);
66
+
67
+ if (panel_id === undefined) {
68
+ panel_id = t.getPanelForTab(tabElm);
69
+ }
33
70
 
34
71
  panelElm= document.getElementById(panel_id);
35
72
  panelContainerElm = panelElm ? panelElm.parentNode : null;
36
- tabElm = document.getElementById(tab_id);
37
73
  tabContainerElm = tabElm ? tabElm.parentNode : null;
38
- selectionClass = this.getParam('selection_class', 'current');
74
+ selectionClass = t.getParam('selection_class', 'current');
39
75
 
40
76
  if (tabElm && tabContainerElm) {
41
77
  nodes = tabContainerElm.childNodes;
42
78
 
43
79
  // Hide all other tabs
44
80
  for (i = 0; i < nodes.length; i++) {
45
- if (nodes[i].nodeName == "LI")
46
- nodes[i].className = '';
81
+ if (nodes[i].nodeName == "LI") {
82
+ t.hideTab(nodes[i]);
83
+ }
47
84
  }
48
85
 
49
86
  // Show selected tab
50
- tabElm.className = 'current';
87
+ t.showTab(tabElm);
51
88
  }
52
89
 
53
90
  if (panelElm && panelContainerElm) {
@@ -56,11 +93,15 @@ MCTabs.prototype.displayTab = function(tab_id, panel_id) {
56
93
  // Hide all other panels
57
94
  for (i = 0; i < nodes.length; i++) {
58
95
  if (nodes[i].nodeName == "DIV")
59
- nodes[i].className = 'panel';
96
+ t.hidePanel(nodes[i]);
97
+ }
98
+
99
+ if (!avoid_focus) {
100
+ tabElm.focus();
60
101
  }
61
102
 
62
103
  // Show selected panel
63
- panelElm.className = 'current';
104
+ t.showPanel(panelElm);
64
105
  }
65
106
  };
66
107
 
@@ -73,5 +114,49 @@ MCTabs.prototype.getAnchor = function() {
73
114
  return "";
74
115
  };
75
116
 
76
- // Global instance
117
+
118
+ //Global instance
77
119
  var mcTabs = new MCTabs();
120
+
121
+ tinyMCEPopup.onInit.add(function() {
122
+ var tinymce = tinyMCEPopup.getWin().tinymce, dom = tinyMCEPopup.dom, each = tinymce.each;
123
+
124
+ each(dom.select('div.tabs'), function(tabContainerElm) {
125
+ var keyNav;
126
+
127
+ dom.setAttrib(tabContainerElm, "role", "tablist");
128
+
129
+ var items = tinyMCEPopup.dom.select('li', tabContainerElm);
130
+ var action = function(id) {
131
+ mcTabs.displayTab(id, mcTabs.getPanelForTab(id));
132
+ mcTabs.onChange.dispatch(id);
133
+ };
134
+
135
+ each(items, function(item) {
136
+ dom.setAttrib(item, 'role', 'tab');
137
+ dom.bind(item, 'click', function(evt) {
138
+ action(item.id);
139
+ });
140
+ });
141
+
142
+ dom.bind(dom.getRoot(), 'keydown', function(evt) {
143
+ if (evt.keyCode === 9 && evt.ctrlKey && !evt.altKey) { // Tab
144
+ keyNav.moveFocus(evt.shiftKey ? -1 : 1);
145
+ tinymce.dom.Event.cancel(evt);
146
+ }
147
+ });
148
+
149
+ each(dom.select('a', tabContainerElm), function(a) {
150
+ dom.setAttrib(a, 'tabindex', '-1');
151
+ });
152
+
153
+ keyNav = tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', {
154
+ root: tabContainerElm,
155
+ items: items,
156
+ onAction: action,
157
+ actOnFocus: true,
158
+ enableLeftRight: true,
159
+ enableUpDown: true
160
+ }, tinyMCEPopup.dom);
161
+ });
162
+ });
@@ -96,8 +96,10 @@ var AutoValidator = {
96
96
  var i, nl, s = this.settings, c = 0;
97
97
 
98
98
  nl = this.tags(f, 'label');
99
- for (i=0; i<nl.length; i++)
99
+ for (i=0; i<nl.length; i++) {
100
100
  this.removeClass(nl[i], s.invalid_cls);
101
+ nl[i].setAttribute('aria-invalid', false);
102
+ }
101
103
 
102
104
  c += this.validateElms(f, 'input');
103
105
  c += this.validateElms(f, 'select');
@@ -109,6 +111,33 @@ var AutoValidator = {
109
111
  invalidate : function(n) {
110
112
  this.mark(n.form, n);
111
113
  },
114
+
115
+ getErrorMessages : function(f) {
116
+ var nl, i, s = this.settings, field, msg, values, messages = [], ed = tinyMCEPopup.editor;
117
+ nl = this.tags(f, "label");
118
+ for (i=0; i<nl.length; i++) {
119
+ if (this.hasClass(nl[i], s.invalid_cls)) {
120
+ field = document.getElementById(nl[i].getAttribute("for"));
121
+ values = { field: nl[i].textContent };
122
+ if (this.hasClass(field, s.min_cls, true)) {
123
+ message = ed.getLang('invalid_data_min');
124
+ values.min = this.getNum(field, s.min_cls);
125
+ } else if (this.hasClass(field, s.number_cls)) {
126
+ message = ed.getLang('invalid_data_number');
127
+ } else if (this.hasClass(field, s.size_cls)) {
128
+ message = ed.getLang('invalid_data_size');
129
+ } else {
130
+ message = ed.getLang('invalid_data');
131
+ }
132
+
133
+ message = message.replace(/{\#([^}]+)\}/g, function(a, b) {
134
+ return values[b] || '{#' + b + '}';
135
+ });
136
+ messages.push(message);
137
+ }
138
+ }
139
+ return messages;
140
+ },
112
141
 
113
142
  reset : function(e) {
114
143
  var t = ['label', 'input', 'select', 'textarea'];
@@ -119,8 +148,10 @@ var AutoValidator = {
119
148
 
120
149
  for (i=0; i<t.length; i++) {
121
150
  nl = this.tags(e.form ? e.form : e, t[i]);
122
- for (j=0; j<nl.length; j++)
151
+ for (j=0; j<nl.length; j++) {
123
152
  this.removeClass(nl[j], s.invalid_cls);
153
+ nl[j].setAttribute('aria-invalid', false);
154
+ }
124
155
  }
125
156
  },
126
157
 
@@ -201,6 +232,7 @@ var AutoValidator = {
201
232
  var s = this.settings;
202
233
 
203
234
  this.addClass(n, s.invalid_cls);
235
+ n.setAttribute('aria-invalid', 'true');
204
236
  this.markLabels(f, n, s.invalid_cls);
205
237
 
206
238
  return false;
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 37
5
4
  prerelease:
6
- segments:
7
- - 0
8
- - 9
9
- - 15
10
- version: 0.9.15
5
+ version: 0.9.16
11
6
  platform: ruby
12
7
  authors:
13
8
  - Spencer Markowski
@@ -17,153 +12,119 @@ autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
14
 
20
- date: 2011-04-20 00:00:00 -04:00
15
+ date: 2011-05-11 00:00:00 -04:00
21
16
  default_executable:
22
17
  dependencies:
23
18
  - !ruby/object:Gem::Dependency
24
- type: :runtime
19
+ name: rails
25
20
  requirement: &id001 !ruby/object:Gem::Requirement
26
21
  none: false
27
22
  requirements:
28
23
  - - ~>
29
24
  - !ruby/object:Gem::Version
30
- hash: 7
31
- segments:
32
- - 3
33
- - 0
34
- - 0
35
25
  version: 3.0.0
36
- name: rails
37
- version_requirements: *id001
26
+ type: :runtime
38
27
  prerelease: false
28
+ version_requirements: *id001
39
29
  - !ruby/object:Gem::Dependency
40
- type: :runtime
30
+ name: orm_adapter
41
31
  requirement: &id002 !ruby/object:Gem::Requirement
42
32
  none: false
43
33
  requirements:
44
34
  - - ">="
45
35
  - !ruby/object:Gem::Version
46
- hash: 3
47
- segments:
48
- - 0
49
36
  version: "0"
50
- name: orm_adapter
51
- version_requirements: *id002
37
+ type: :runtime
52
38
  prerelease: false
39
+ version_requirements: *id002
53
40
  - !ruby/object:Gem::Dependency
54
- type: :runtime
41
+ name: awesome_nested_set
55
42
  requirement: &id003 !ruby/object:Gem::Requirement
56
43
  none: false
57
44
  requirements:
58
45
  - - ">="
59
46
  - !ruby/object:Gem::Version
60
- hash: 3
61
- segments:
62
- - 0
63
47
  version: "0"
64
- name: awesome_nested_set
65
- version_requirements: *id003
48
+ type: :runtime
66
49
  prerelease: false
50
+ version_requirements: *id003
67
51
  - !ruby/object:Gem::Dependency
68
- type: :runtime
52
+ name: formtastic
69
53
  requirement: &id004 !ruby/object:Gem::Requirement
70
54
  none: false
71
55
  requirements:
72
56
  - - ">="
73
57
  - !ruby/object:Gem::Version
74
- hash: 3
75
- segments:
76
- - 0
77
58
  version: "0"
78
- name: formtastic
79
- version_requirements: *id004
59
+ type: :runtime
80
60
  prerelease: false
61
+ version_requirements: *id004
81
62
  - !ruby/object:Gem::Dependency
82
- type: :runtime
63
+ name: simple-navigation
83
64
  requirement: &id005 !ruby/object:Gem::Requirement
84
65
  none: false
85
66
  requirements:
86
67
  - - ">="
87
68
  - !ruby/object:Gem::Version
88
- hash: 3
89
- segments:
90
- - 0
91
69
  version: "0"
92
- name: simple-navigation
93
- version_requirements: *id005
70
+ type: :runtime
94
71
  prerelease: false
72
+ version_requirements: *id005
95
73
  - !ruby/object:Gem::Dependency
96
- type: :runtime
74
+ name: jquery-rails
97
75
  requirement: &id006 !ruby/object:Gem::Requirement
98
76
  none: false
99
77
  requirements:
100
78
  - - ">="
101
79
  - !ruby/object:Gem::Version
102
- hash: 3
103
- segments:
104
- - 0
105
80
  version: "0"
106
- name: jquery-rails
107
- version_requirements: *id006
81
+ type: :runtime
108
82
  prerelease: false
83
+ version_requirements: *id006
109
84
  - !ruby/object:Gem::Dependency
110
- type: :runtime
85
+ name: rainbow
111
86
  requirement: &id007 !ruby/object:Gem::Requirement
112
87
  none: false
113
88
  requirements:
114
89
  - - ">="
115
90
  - !ruby/object:Gem::Version
116
- hash: 3
117
- segments:
118
- - 0
119
91
  version: "0"
120
- name: rainbow
121
- version_requirements: *id007
92
+ type: :runtime
122
93
  prerelease: false
94
+ version_requirements: *id007
123
95
  - !ruby/object:Gem::Dependency
124
- type: :runtime
96
+ name: kaminari
125
97
  requirement: &id008 !ruby/object:Gem::Requirement
126
98
  none: false
127
99
  requirements:
128
100
  - - ">="
129
101
  - !ruby/object:Gem::Version
130
- hash: 3
131
- segments:
132
- - 0
133
102
  version: "0"
134
- name: kaminari
135
- version_requirements: *id008
103
+ type: :runtime
136
104
  prerelease: false
105
+ version_requirements: *id008
137
106
  - !ruby/object:Gem::Dependency
138
- type: :runtime
107
+ name: cocoon
139
108
  requirement: &id009 !ruby/object:Gem::Requirement
140
109
  none: false
141
110
  requirements:
142
111
  - - ">="
143
112
  - !ruby/object:Gem::Version
144
- hash: 3
145
- segments:
146
- - 0
147
113
  version: "0"
148
- name: cocoon
149
- version_requirements: *id009
114
+ type: :runtime
150
115
  prerelease: false
116
+ version_requirements: *id009
151
117
  - !ruby/object:Gem::Dependency
152
- type: :runtime
118
+ name: schemata
153
119
  requirement: &id010 !ruby/object:Gem::Requirement
154
120
  none: false
155
121
  requirements:
156
122
  - - ">="
157
123
  - !ruby/object:Gem::Version
158
- hash: 27
159
- segments:
160
- - 0
161
- - 1
162
- - 0
163
124
  version: 0.1.0
164
- name: schemata
165
- version_requirements: *id010
125
+ type: :runtime
166
126
  prerelease: false
127
+ version_requirements: *id010
167
128
  description:
168
129
  email:
169
130
  executables: []
@@ -312,6 +273,8 @@ files:
312
273
  - public/javascripts/tinymce/plugins/advlink/link.htm
313
274
  - public/javascripts/tinymce/plugins/advlist/editor_plugin.js
314
275
  - public/javascripts/tinymce/plugins/advlist/editor_plugin_src.js
276
+ - public/javascripts/tinymce/plugins/autolink/editor_plugin.js
277
+ - public/javascripts/tinymce/plugins/autolink/editor_plugin_src.js
315
278
  - public/javascripts/tinymce/plugins/autoresize/editor_plugin.js
316
279
  - public/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js
317
280
  - public/javascripts/tinymce/plugins/autosave/editor_plugin.js
@@ -379,30 +342,22 @@ files:
379
342
  - public/javascripts/tinymce/plugins/layer/editor_plugin_src.js
380
343
  - public/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js
381
344
  - public/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js
382
- - public/javascripts/tinymce/plugins/media/css/content.css
345
+ - public/javascripts/tinymce/plugins/lists/editor_plugin.js
346
+ - public/javascripts/tinymce/plugins/lists/editor_plugin_src.js
383
347
  - public/javascripts/tinymce/plugins/media/css/media.css
384
348
  - public/javascripts/tinymce/plugins/media/editor_plugin.js
385
349
  - public/javascripts/tinymce/plugins/media/editor_plugin_src.js
386
- - public/javascripts/tinymce/plugins/media/img/flash.gif
387
- - public/javascripts/tinymce/plugins/media/img/flv_player.swf
388
- - public/javascripts/tinymce/plugins/media/img/quicktime.gif
389
- - public/javascripts/tinymce/plugins/media/img/realmedia.gif
390
- - public/javascripts/tinymce/plugins/media/img/shockwave.gif
391
- - public/javascripts/tinymce/plugins/media/img/trans.gif
392
- - public/javascripts/tinymce/plugins/media/img/windowsmedia.gif
393
350
  - public/javascripts/tinymce/plugins/media/js/embed.js
394
351
  - public/javascripts/tinymce/plugins/media/js/media.js
395
352
  - public/javascripts/tinymce/plugins/media/langs/en_dlg.js
396
353
  - public/javascripts/tinymce/plugins/media/media.htm
354
+ - public/javascripts/tinymce/plugins/media/moxieplayer.swf
397
355
  - public/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js
398
356
  - public/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js
399
357
  - public/javascripts/tinymce/plugins/noneditable/editor_plugin.js
400
358
  - public/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js
401
- - public/javascripts/tinymce/plugins/pagebreak/css/content.css
402
359
  - public/javascripts/tinymce/plugins/pagebreak/editor_plugin.js
403
360
  - public/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js
404
- - public/javascripts/tinymce/plugins/pagebreak/img/pagebreak.gif
405
- - public/javascripts/tinymce/plugins/pagebreak/img/trans.gif
406
361
  - public/javascripts/tinymce/plugins/paste/editor_plugin.js
407
362
  - public/javascripts/tinymce/plugins/paste/editor_plugin_src.js
408
363
  - public/javascripts/tinymce/plugins/paste/js/pastetext.js
@@ -410,11 +365,6 @@ files:
410
365
  - public/javascripts/tinymce/plugins/paste/langs/en_dlg.js
411
366
  - public/javascripts/tinymce/plugins/paste/pastetext.htm
412
367
  - public/javascripts/tinymce/plugins/paste/pasteword.htm
413
- - public/javascripts/tinymce/plugins/pdw/editor_plugin.js
414
- - public/javascripts/tinymce/plugins/pdw/editor_plugin_src.js
415
- - public/javascripts/tinymce/plugins/pdw/img/toolbars.gif
416
- - public/javascripts/tinymce/plugins/pdw/langs/en.js
417
- - public/javascripts/tinymce/plugins/pdw/langs/nl.js
418
368
  - public/javascripts/tinymce/plugins/preview/editor_plugin.js
419
369
  - public/javascripts/tinymce/plugins/preview/editor_plugin_src.js
420
370
  - public/javascripts/tinymce/plugins/preview/example.html
@@ -493,7 +443,16 @@ files:
493
443
  - public/javascripts/tinymce/themes/advanced/editor_template_src.js
494
444
  - public/javascripts/tinymce/themes/advanced/image.htm
495
445
  - public/javascripts/tinymce/themes/advanced/img/colorpicker.jpg
446
+ - public/javascripts/tinymce/themes/advanced/img/flash.gif
496
447
  - public/javascripts/tinymce/themes/advanced/img/icons.gif
448
+ - public/javascripts/tinymce/themes/advanced/img/iframe.gif
449
+ - public/javascripts/tinymce/themes/advanced/img/pagebreak.gif
450
+ - public/javascripts/tinymce/themes/advanced/img/quicktime.gif
451
+ - public/javascripts/tinymce/themes/advanced/img/realmedia.gif
452
+ - public/javascripts/tinymce/themes/advanced/img/shockwave.gif
453
+ - public/javascripts/tinymce/themes/advanced/img/trans.gif
454
+ - public/javascripts/tinymce/themes/advanced/img/video.gif
455
+ - public/javascripts/tinymce/themes/advanced/img/windowsmedia.gif
497
456
  - public/javascripts/tinymce/themes/advanced/js/about.js
498
457
  - public/javascripts/tinymce/themes/advanced/js/anchor.js
499
458
  - public/javascripts/tinymce/themes/advanced/js/charmap.js
@@ -504,6 +463,7 @@ files:
504
463
  - public/javascripts/tinymce/themes/advanced/langs/en.js
505
464
  - public/javascripts/tinymce/themes/advanced/langs/en_dlg.js
506
465
  - public/javascripts/tinymce/themes/advanced/link.htm
466
+ - public/javascripts/tinymce/themes/advanced/shortcuts.htm
507
467
  - public/javascripts/tinymce/themes/advanced/skins/default/content.css
508
468
  - public/javascripts/tinymce/themes/advanced/skins/default/dialog.css
509
469
  - public/javascripts/tinymce/themes/advanced/skins/default/img/buttons.png
@@ -513,6 +473,9 @@ files:
513
473
  - public/javascripts/tinymce/themes/advanced/skins/default/img/progress.gif
514
474
  - public/javascripts/tinymce/themes/advanced/skins/default/img/tabs.gif
515
475
  - public/javascripts/tinymce/themes/advanced/skins/default/ui.css
476
+ - public/javascripts/tinymce/themes/advanced/skins/highcontrast/content.css
477
+ - public/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css
478
+ - public/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css
516
479
  - public/javascripts/tinymce/themes/advanced/skins/o2k7/content.css
517
480
  - public/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css
518
481
  - public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg.png
@@ -600,18 +563,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
600
563
  requirements:
601
564
  - - ">="
602
565
  - !ruby/object:Gem::Version
603
- hash: 3
604
- segments:
605
- - 0
606
566
  version: "0"
607
567
  required_rubygems_version: !ruby/object:Gem::Requirement
608
568
  none: false
609
569
  requirements:
610
570
  - - ">="
611
571
  - !ruby/object:Gem::Version
612
- hash: 3
613
- segments:
614
- - 0
615
572
  version: "0"
616
573
  requirements: []
617
574