Permalink
Browse files

Removed old textarea directory.

  • Loading branch information...
1 parent 27783aa commit 72a645acd242b7e0bc75488651bff324526d6690 @Choonster committed Jun 14, 2012
Showing with 0 additions and 51,485 deletions.
  1. +0 −115 textarea/editor.html
  2. +0 −15,658 textarea/src/ace-bookmarklet.js
  3. +0 −298 textarea/src/mode-c9search.js
  4. +0 −699 textarea/src/mode-c_cpp.js
  5. +0 −363 textarea/src/mode-clojure.js
  6. +0 −463 textarea/src/mode-coffee.js
  7. +0 −1,927 textarea/src/mode-coldfusion.js
  8. +0 −588 textarea/src/mode-csharp.js
  9. +0 −497 textarea/src/mode-css.js
  10. +0 −248 textarea/src/mode-diff.js
  11. +0 −636 textarea/src/mode-golang.js
  12. +0 −1,195 textarea/src/mode-groovy.js
  13. +0 −588 textarea/src/mode-haxe.js
  14. +0 −1,944 textarea/src/mode-html.js
  15. +0 −1,157 textarea/src/mode-java.js
  16. +0 −1,024 textarea/src/mode-javascript.js
  17. +0 −543 textarea/src/mode-json.js
  18. +0 −601 textarea/src/mode-jsx.js
  19. +0 −95 textarea/src/mode-latex.js
  20. +0 −510 textarea/src/mode-less.js
  21. +0 −1,152 textarea/src/mode-liquid.js
  22. +0 −483 textarea/src/mode-lua.js
  23. +0 −2,418 textarea/src/mode-luahtml.js
  24. +0 −2,249 textarea/src/mode-markdown.js
  25. +0 −464 textarea/src/mode-ocaml.js
  26. +0 −430 textarea/src/mode-perl.js
  27. +0 −970 textarea/src/mode-pgsql.js
  28. +0 −1,673 textarea/src/mode-php.js
  29. +0 −565 textarea/src/mode-powershell.js
  30. +0 −395 textarea/src/mode-python.js
  31. +0 −318 textarea/src/mode-ruby.js
  32. +0 −687 textarea/src/mode-scad.js
  33. +0 −1,192 textarea/src/mode-scala.js
  34. +0 −535 textarea/src/mode-scss.js
  35. +0 −250 textarea/src/mode-sh.js
  36. +0 −140 textarea/src/mode-sql.js
  37. +0 −1,642 textarea/src/mode-svg.js
  38. 0 textarea/src/mode-text.js
  39. +0 −182 textarea/src/mode-textile.js
  40. +0 −790 textarea/src/mode-xml.js
  41. +0 −562 textarea/src/mode-xquery.js
  42. +0 −189 textarea/src/mode-yaml.js
  43. +0 −202 textarea/src/theme-chrome.js
  44. +0 −164 textarea/src/theme-clouds.js
  45. +0 −165 textarea/src/theme-clouds_midnight.js
  46. +0 −191 textarea/src/theme-cobalt.js
  47. +0 −193 textarea/src/theme-crimson_editor.js
  48. +0 −195 textarea/src/theme-dawn.js
  49. +0 −227 textarea/src/theme-dreamweaver.js
  50. +0 −150 textarea/src/theme-eclipse.js
  51. +0 −183 textarea/src/theme-idle_fingers.js
  52. +0 −186 textarea/src/theme-kr_theme.js
  53. +0 −186 textarea/src/theme-merbivore.js
  54. +0 −192 textarea/src/theme-merbivore_soft.js
  55. +0 −194 textarea/src/theme-mono_industrial.js
  56. +0 −191 textarea/src/theme-monokai.js
  57. +0 −196 textarea/src/theme-pastel_on_dark.js
  58. +0 −177 textarea/src/theme-solarized_dark.js
  59. +0 −176 textarea/src/theme-solarized_light.js
  60. +0 −211 textarea/src/theme-textmate.js
  61. +0 −210 textarea/src/theme-tomorrow.js
  62. +0 −210 textarea/src/theme-tomorrow_night.js
  63. +0 −210 textarea/src/theme-tomorrow_night_blue.js
  64. +0 −210 textarea/src/theme-tomorrow_night_bright.js
  65. +0 −206 textarea/src/theme-tomorrow_night_eighties.js
  66. +0 −208 textarea/src/theme-twilight.js
  67. +0 −187 textarea/src/theme-vibrant_ink.js
  68. +0 −230 textarea/style.css
View
@@ -1,115 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <link href="style.css" rel="stylesheet" type="text/css">
- <title>Ace Bookmarklet Builder</title>
-</head>
-<body>
-
-<div id="wrapper">
-
-<div class="content" style="width: 950px">
- <div class="column1" style="margin-top: 47px">
- <textarea id="textarea" style="width:300px; height:300px">
-/**
- * This is Ace injected using a bookmarklet.
- */
-function foo() {
- var bar = true;
-}</textarea><br>
- SourceUrl: <br>
- <input id="srcURL" style="width:300px" value="http://ajaxorg.github.com/ace-builds/textarea/src/"></input><br>
- <button id="buBuild">Build Link</button> <br> <a href="#"></a>
- <a href="https://github.com/ajaxorg/ace/">
- <div class="fork_on_github" ></div>
- </a>
- </div>
- <div class="column2">
- <h1>Ace Bookmarklet Builder</h1>
-
- <p id="first">
- <strong>WARNING:</strong> Currently, this is only supported in non IE browsers.
- </p>
-
- <h2>How to use it:</h2>
- <ul>
- <li>Select the options as you want them to be by default.</li>
- <li>Enter the "SourceUrl". This has to be the URL pointing to build/textarea/src/ (you can leave the default to server the scripts from GitHub).</li>
- <li>Click the "Build Link" button to generate your custom Ace Bookmarklet.</li>
- <li>Drag the generated link to your toolbar or store it somewhere else.</li>
- <li>Go to a page with a textarea element and click the bookmarklet - wait a little bit till the files are loaded.</li>
- <li>Click three times on the textarea you want to replace - Ace will replace it.</li>
- <li>To change settings, just click the red icon in the bottom right corner.</li>
- </ul>
- </div>
-</div>
-</div>
-
-<script>
-
-function inject(callback) {
- var baseUrl = "src/";
-
- var load = window.__ace_loader__ = function(path, module, callback) {
- var head = document.getElementsByTagName('head')[0];
- var s = document.createElement('script');
-
- s.src = baseUrl + path;
- head.appendChild(s);
-
- s.onload = function() {
- window.__ace_shadowed__.require([module], callback);
- };
- };
-
- load('ace-bookmarklet.js', "ace/ext/textarea", function() {
- var ace = window.__ace_shadowed__;
-
- ace.options.mode = "javascript";
- var Event = ace.require("ace/lib/event");
- var areas = document.getElementsByTagName("textarea");
- for (var i = 0; i < areas.length; i++) {
- Event.addListener(areas[i], "click", function(e) {
- if (e.detail == 3) {
- ace.transformTextarea(e.target, load);
- }
- });
- }
- callback && callback();
- });
-}
-
-// Call the inject function to load the ace files.
-var textAce;
-inject(function () {
- // Transform the textarea on the page into an ace editor.
- var ace = window.__ace_shadowed__;
- var t = document.querySelector("textarea");
- textAce = ace.transformTextarea(t, window.__ace_loader__);
- textAce.setDisplaySettings(true);
-});
-
-
-document.getElementById("buBuild").onclick = function() {
- var injectSrc = inject.toString().split("\n").join("");
- injectSrc = injectSrc.replace('baseUrl = "src/"', 'baseUrl="' + document.getElementById("srcURL").value + '"');
-
- var aceOptions = textAce.getOptions();
- var opt = [];
- for (var option in aceOptions) {
- opt.push(option + ":'" + aceOptions[option] + "'");
- }
- injectSrc = injectSrc.replace('ace.options.mode = "javascript"', 'ace.options = { ' + opt.join(",") + ' }');
- injectSrc = injectSrc.replace(/\s+/g, " ");
-
- var a = document.querySelector("a");
- a.href = "javascript:(" + injectSrc + ")()";
- a.innerHTML = "Ace Bookmarklet Link";
-}
-
-</script>
-
-</body>
-</html>
Oops, something went wrong.

0 comments on commit 72a645a

Please sign in to comment.