From 874a6de44314ef25470280fdb266569cf571b069 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Wed, 4 Feb 2015 23:05:00 +0100 Subject: [PATCH] Move log to vendor/ --- Brocfile.js | 1 + app/views/pre.coffee | 1 - {app/vendor => vendor}/log.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {app/vendor => vendor}/log.js (99%) diff --git a/Brocfile.js b/Brocfile.js index 620b6754..9b0ad4e1 100644 --- a/Brocfile.js +++ b/Brocfile.js @@ -21,6 +21,7 @@ app.import('bower_components/visibilityjs/lib/visibility.core.js'); app.import('bower_components/visibilityjs/lib/visibility.timers.js'); app.import('bower_components/JavaScript-MD5/js/md5.js'); app.import('vendor/ansiparse.js'); +app.import('vendor/log.js'); app.import('bower_components/moment/moment.js'); // Use `app.import` to add additional libraries to the generated // output files. diff --git a/app/views/pre.coffee b/app/views/pre.coffee index c60fba81..5f86af96 100644 --- a/app/views/pre.coffee +++ b/app/views/pre.coffee @@ -2,7 +2,6 @@ `import LogFolder from 'travis/utils/log-folder'` `import config from 'travis/config/environment'` `import { plainTextLog as plainTextLogUrl } from 'travis/utils/urls'` -`import Log from 'travis/vendor/log'` Log.DEBUG = false Log.LIMIT = 10000 diff --git a/app/vendor/log.js b/vendor/log.js similarity index 99% rename from app/vendor/log.js rename to vendor/log.js index 6f1074a4..496e44d1 100644 --- a/app/vendor/log.js +++ b/vendor/log.js @@ -1072,4 +1072,4 @@ Log.extend(Log.Renderer.prototype, { } }); -export default Log; +window.Log = Log;