[Pkg-javascript-commits] [less.js] 188/285: Tidy up after solving problem when building in linux
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:23:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v2.0.0
in repository less.js.
commit 114d3e59e80149dcbe7158845c845ec5c35d0b0d
Author: Luke Page <luke.a.page at gmail.com>
Date: Sun Oct 19 09:47:39 2014 +0100
Tidy up after solving problem when building in linux
---
Gruntfile.js | 1 -
lib/less-browser/index.js | 4 ----
2 files changed, 5 deletions(-)
diff --git a/Gruntfile.js b/Gruntfile.js
index 87fd1ea..c2858b2 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -49,7 +49,6 @@ module.exports = function (grunt) {
src: ['./lib/less-browser/index.js'],
options: {
alias: ["promise/polyfill.js:promise"]
- //ignore: ["promise/index.js"]
},
dest: 'tmp/less.js'
}
diff --git a/lib/less-browser/index.js b/lib/less-browser/index.js
index 66a8fe7..f90d260 100644
--- a/lib/less-browser/index.js
+++ b/lib/less-browser/index.js
@@ -14,13 +14,9 @@ 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);
-
window.less = less = require('../less')();
var environment = less.environment,
FileManager = require("./file-manager")(options, isFileProtocol, less.logger),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git
More information about the Pkg-javascript-commits
mailing list