From 6913f305b5e978b8a7fb03df7f983ca6ebd5e28b Mon Sep 17 00:00:00 2001 From: Luke Page Date: Sun, 19 Oct 2014 08:34:49 +0100 Subject: [PATCH] Test why travis CI is failing --- lib/less-browser/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/less-browser/index.js b/lib/less-browser/index.js index f90d2602..af78acf3 100644 --- a/lib/less-browser/index.js +++ b/lib/less-browser/index.js @@ -14,9 +14,17 @@ var less; var isFileProtocol = /^(file|chrome(-extension)?|resource|qrc|app):/.test(window.location.protocol), options = window.less || {}; +console.warn("about to apply polyfill " + window.Promise); + // shim Promise if required require('promise/polyfill.js'); +console.warn("polyfill applied" + window.Promise); + +(function() { + console.log("am I in strict mode? "+this); +})(); + window.less = less = require('../less')(); var environment = less.environment, FileManager = require("./file-manager")(options, isFileProtocol, less.logger),