flammarion 0.0.7 → 0.0.8

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.
Files changed (28) hide show
  1. data/LICENSE +13 -0
  2. data/lib/flammarion/version.rb +1 -1
  3. data/lib/flammarion/writeable.rb +4 -0
  4. data/lib/html/build/fonts/FontAwesome.otf +0 -0
  5. data/lib/html/build/fonts/fontawesome-webfont.eot +0 -0
  6. data/lib/html/build/fonts/fontawesome-webfont.svg +655 -0
  7. data/lib/html/build/fonts/fontawesome-webfont.ttf +0 -0
  8. data/lib/html/build/fonts/fontawesome-webfont.woff +0 -0
  9. data/lib/html/build/fonts/fontawesome-webfont.woff2 +0 -0
  10. data/lib/html/build/javascripts/actions.js +7 -1
  11. data/lib/html/build/javascripts/all.js +7 -1
  12. data/lib/html/build/javascripts/map.js +7 -1
  13. data/lib/html/build/javascripts/websocket.js +7 -1
  14. data/lib/html/build/stylesheets/all.css +2092 -0
  15. data/lib/html/build/stylesheets/font-awesome/HELP-US-OUT.txt +7 -0
  16. data/lib/html/build/stylesheets/font-awesome/css/font-awesome.css +2087 -0
  17. data/lib/html/build/stylesheets/font-awesome/css/font-awesome.min.css +5 -0
  18. data/lib/html/source/fonts/FontAwesome.otf +0 -0
  19. data/lib/html/source/fonts/fontawesome-webfont.eot +0 -0
  20. data/lib/html/source/fonts/fontawesome-webfont.svg +655 -0
  21. data/lib/html/source/fonts/fontawesome-webfont.ttf +0 -0
  22. data/lib/html/source/fonts/fontawesome-webfont.woff +0 -0
  23. data/lib/html/source/fonts/fontawesome-webfont.woff2 +0 -0
  24. data/lib/html/source/javascripts/websocket.coffee +3 -0
  25. data/lib/html/source/stylesheets/font-awesome/HELP-US-OUT.txt +7 -0
  26. data/lib/html/source/stylesheets/font-awesome/css/font-awesome.css +2086 -0
  27. data/lib/html/source/stylesheets/font-awesome/css/font-awesome.min.css +4 -0
  28. metadata +19 -1
@@ -143,7 +143,8 @@ void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?voi
143
143
  options = {
144
144
  raw: false,
145
145
  colorize: true,
146
- escape_html: true
146
+ escape_html: true,
147
+ escape_icons: false
147
148
  };
148
149
  $.extend(options, input_options);
149
150
  if (options.raw) {
@@ -156,6 +157,11 @@ void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?voi
156
157
  if (options.colorize) {
157
158
  text = ansi_up.ansi_to_html(text);
158
159
  }
160
+ if (options.escape_icons) {
161
+ text = text.replace(/:[\w-]+:/g, function(match) {
162
+ return "<i class='fa fa-" + match.slice(1, -1) + "'></i>";
163
+ });
164
+ }
159
165
  return text;
160
166
  };
161
167
 
@@ -6764,7 +6764,8 @@ if (typeof module !== 'undefined') {
6764
6764
  options = {
6765
6765
  raw: false,
6766
6766
  colorize: true,
6767
- escape_html: true
6767
+ escape_html: true,
6768
+ escape_icons: false
6768
6769
  };
6769
6770
  $.extend(options, input_options);
6770
6771
  if (options.raw) {
@@ -6777,6 +6778,11 @@ if (typeof module !== 'undefined') {
6777
6778
  if (options.colorize) {
6778
6779
  text = ansi_up.ansi_to_html(text);
6779
6780
  }
6781
+ if (options.escape_icons) {
6782
+ text = text.replace(/:[\w-]+:/g, function(match) {
6783
+ return "<i class='fa fa-" + match.slice(1, -1) + "'></i>";
6784
+ });
6785
+ }
6780
6786
  return text;
6781
6787
  };
6782
6788
 
@@ -143,7 +143,8 @@ void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?voi
143
143
  options = {
144
144
  raw: false,
145
145
  colorize: true,
146
- escape_html: true
146
+ escape_html: true,
147
+ escape_icons: false
147
148
  };
148
149
  $.extend(options, input_options);
149
150
  if (options.raw) {
@@ -156,6 +157,11 @@ void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?voi
156
157
  if (options.colorize) {
157
158
  text = ansi_up.ansi_to_html(text);
158
159
  }
160
+ if (options.escape_icons) {
161
+ text = text.replace(/:[\w-]+:/g, function(match) {
162
+ return "<i class='fa fa-" + match.slice(1, -1) + "'></i>";
163
+ });
164
+ }
159
165
  return text;
160
166
  };
161
167
 
@@ -143,7 +143,8 @@ void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?voi
143
143
  options = {
144
144
  raw: false,
145
145
  colorize: true,
146
- escape_html: true
146
+ escape_html: true,
147
+ escape_icons: false
147
148
  };
148
149
  $.extend(options, input_options);
149
150
  if (options.raw) {
@@ -156,6 +157,11 @@ void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?voi
156
157
  if (options.colorize) {
157
158
  text = ansi_up.ansi_to_html(text);
158
159
  }
160
+ if (options.escape_icons) {
161
+ text = text.replace(/:[\w-]+:/g, function(match) {
162
+ return "<i class='fa fa-" + match.slice(1, -1) + "'></i>";
163
+ });
164
+ }
159
165
  return text;
160
166
  };
161
167