diff options
author | Egil Moeller <egil.moller@freecode.no> | 2010-03-22 00:16:53 +0100 |
---|---|---|
committer | Egil Moeller <egil.moller@freecode.no> | 2010-03-22 00:16:53 +0100 |
commit | fc00cfedd6c25d1634a1e0d28a7b7bc5f42e1cd7 (patch) | |
tree | 928419d6bfe794865e4b8f0634bd792f795c4b8a /trunk/infrastructure/ace/www/testcode.js | |
parent | 0fdab3db005c4fa31fb8306b573c0b35073d3e56 (diff) | |
parent | d56b9b3b82cdebcaeb00eec0fcb4326ad21adaa8 (diff) | |
download | etherpad-fc00cfedd6c25d1634a1e0d28a7b7bc5f42e1cd7.tar.gz etherpad-fc00cfedd6c25d1634a1e0d28a7b7bc5f42e1cd7.tar.xz etherpad-fc00cfedd6c25d1634a1e0d28a7b7bc5f42e1cd7.zip |
Merge branch 'master' into plugin-framework
Diffstat (limited to 'trunk/infrastructure/ace/www/testcode.js')
-rw-r--r-- | trunk/infrastructure/ace/www/testcode.js | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/trunk/infrastructure/ace/www/testcode.js b/trunk/infrastructure/ace/www/testcode.js deleted file mode 100644 index f393335..0000000 --- a/trunk/infrastructure/ace/www/testcode.js +++ /dev/null @@ -1,36 +0,0 @@ -function getTestCode() { - var testCode = [ -'/* appjet:version 0.1 */', -'(function(){', -'/*', -' * jQuery 1.2.1 - New Wave Javascript', -' *', -' * Copyright (c) 2007 John Resig (jquery.com)', -' * Dual licensed under the MIT (MIT-LICENSE.txt)', -' * and GPL (GPL-LICENSE.txt) licenses.', -' *', -' * $Date: 2007-09-16 23:42:06 -0400 (Sun, 16 Sep 2007) $', -' * $Rev: 3353 $', -' */', -'', -'// Map over jQuery in case of overwrite', -'if ( typeof jQuery != "undefined" )', -' var _jQuery = jQuery;', -'', -'var jQuery = window.jQuery = function(selector, context) {', -' // If the context is a namespace object, return a new object', -' return this instanceof jQuery ?', -' this.init(selector, context) :', -' new jQuery(selector, context);', -'};', -'', -'// Map over the $ in case of overwrite', -'if ( typeof $ != "undefined" )', -' var _$ = $;', -' ', -'// Map the jQuery namespace to the \'$\' one', -'window.$ = jQuery;', -'', -'var quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/;'].join('\n'); - return testCode; -} |