Index: bower_components/marked/test/browser/test.js |
diff --git a/bower_components/marked/test/browser/test.js b/bower_components/marked/test/browser/test.js |
deleted file mode 100644 |
index cef9e376fa210a0e77199e00e0585d5bb7e8f0ab..0000000000000000000000000000000000000000 |
--- a/bower_components/marked/test/browser/test.js |
+++ /dev/null |
@@ -1,62 +0,0 @@ |
-;(function() { |
- |
-var console = {} |
- , files = __TESTS__; |
- |
-console.log = function(text) { |
- var args = Array.prototype.slice.call(arguments, 1) |
- , i = 0; |
- |
- text = text.replace(/%\w/g, function() { |
- return args[i++] || ''; |
- }); |
- |
- if (window.console) window.console.log(text); |
- document.body.innerHTML += '<pre>' + escape(text) + '</pre>'; |
-}; |
- |
-if (!Object.keys) { |
- Object.keys = function(obj) { |
- var out = [] |
- , key; |
- |
- for (key in obj) { |
- if (Object.prototype.hasOwnProperty.call(obj, key)) { |
- out.push(key); |
- } |
- } |
- |
- return out; |
- }; |
-} |
- |
-if (!Array.prototype.forEach) { |
- Array.prototype.forEach = function(callback, context) { |
- for (var i = 0; i < this.length; i++) { |
- callback.call(context || null, this[i], i, obj); |
- } |
- }; |
-} |
- |
-if (!String.prototype.trim) { |
- String.prototype.trim = function() { |
- return this.replace(/^\s+|\s+$/g, ''); |
- }; |
-} |
- |
-function load() { |
- return files; |
-} |
- |
-function escape(html, encode) { |
- return html |
- .replace(!encode ? /&(?!#?\w+;)/g : /&/g, '&') |
- .replace(/</g, '<') |
- .replace(/>/g, '>') |
- .replace(/"/g, '"') |
- .replace(/'/g, '''); |
-} |
- |
-(__MAIN__)(); |
- |
-}).call(this); |