docpad-plugin-less
Advanced tools
Comparing version 2.1.3 to 2.2.0
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.4.0 | ||
// Generated by CoffeeScript 1.6.3 | ||
var __hasProp = {}.hasOwnProperty, | ||
@@ -6,9 +6,9 @@ __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
module.exports = function(BasePlugin) { | ||
var LessPlugin; | ||
var LessPlugin, _ref; | ||
return LessPlugin = (function(_super) { | ||
__extends(LessPlugin, _super); | ||
function LessPlugin() { | ||
return LessPlugin.__super__.constructor.apply(this, arguments); | ||
_ref = LessPlugin.__super__.constructor.apply(this, arguments); | ||
return _ref; | ||
} | ||
@@ -30,3 +30,3 @@ | ||
LessPlugin.prototype.render = function(opts, next) { | ||
var config, dirPath, file, inExtension, key, less, outExtension, parseOptions, path, srcPath, templateData, value, _ref; | ||
var config, dirPath, file, inExtension, key, less, outExtension, parseOptions, path, srcPath, templateData, value, _ref1; | ||
config = this.config; | ||
@@ -44,6 +44,6 @@ inExtension = opts.inExtension, outExtension = opts.outExtension, templateData = opts.templateData, file = opts.file; | ||
if (config.parseOptions) { | ||
_ref = config.parseOptions; | ||
for (key in _ref) { | ||
if (!__hasProp.call(_ref, key)) continue; | ||
value = _ref[key]; | ||
_ref1 = config.parseOptions; | ||
for (key in _ref1) { | ||
if (!__hasProp.call(_ref1, key)) continue; | ||
value = _ref1[key]; | ||
parseOptions[key] = value; | ||
@@ -53,3 +53,3 @@ } | ||
return new less.Parser(parseOptions).parse(opts.content, function(err, tree) { | ||
var compileOptions, _ref1; | ||
var compileOptions, _ref2; | ||
if (err) { | ||
@@ -63,6 +63,6 @@ err = new Error(less.formatError(err, parseOptions)); | ||
if (config.compileOptions) { | ||
_ref1 = config.compileOptions; | ||
for (key in _ref1) { | ||
if (!__hasProp.call(_ref1, key)) continue; | ||
value = _ref1[key]; | ||
_ref2 = config.compileOptions; | ||
for (key in _ref2) { | ||
if (!__hasProp.call(_ref2, key)) continue; | ||
value = _ref2[key]; | ||
compileOptions[key] = value; | ||
@@ -69,0 +69,0 @@ } |
{ | ||
"name": "docpad-plugin-less", | ||
"version": "2.1.3", | ||
"version": "2.2.0", | ||
"description": "Adds support for the LESS CSS pre-processor to DocPad", | ||
@@ -24,7 +24,7 @@ "homepage": "http://docpad.org/plugin/less", | ||
"bugs": { | ||
"url": "https://github.com/bevry/docpad-extras/issues" | ||
"url": "http://docpad.org/plugin/less/issues" | ||
}, | ||
"repository" : { | ||
"type": "git", | ||
"url": "http://github.com/bevry/docpad-extras.git" | ||
"url": "https://github.com/docpad/docpad-plugin-less.git" | ||
}, | ||
@@ -36,6 +36,6 @@ "engines" : { | ||
"dependencies": { | ||
"less": "~1.3.0" | ||
"less": "~1.4.2" | ||
}, | ||
"devDependencies": { | ||
"coffee-script": "~1.4.0" | ||
"coffee-script": "~1.6.2" | ||
}, | ||
@@ -46,2 +46,2 @@ "main": "./out/less.plugin.js", | ||
} | ||
} | ||
} |
@@ -1,2 +0,9 @@ | ||
# LessCSS Plugin for DocPad | ||
# LessCSS Plugin for [DocPad](https://docpad.org) | ||
[![Build Status](https://secure.travis-ci.org/docpad/docpad-plugin-less.png?branch=master)](http://travis-ci.org/docpad/docpad-plugin-less "Check this project's build status on TravisCI") | ||
[![NPM version](https://badge.fury.io/js/docpad-plugin-less.png)](https://npmjs.org/package/docpad-plugin-less "View this project on NPM") | ||
[![Gittip donate button](http://badgr.co/gittip/docpad.png)](https://www.gittip.com/docpad/ "Donate weekly to this project using Gittip") | ||
[![Flattr donate button](https://raw.github.com/balupton/flattr-buttons/master/badge-89x18.gif)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr") | ||
[![PayPayl donate button](https://www.paypalobjects.com/en_AU/i/btn/btn_donate_SM.gif)](https://www.paypal.com/au/cgi-bin/webscr?cmd=_flow&SESSION=IHj3DG3oy_N9A9ZDIUnPksOi59v0i-EWDTunfmDrmU38Tuohg_xQTx0xcjq&dispatch=5885d80a13c0db1f8e263663d3faee8d14f86393d55a810282b64afed84968ec "Donate once-off to this project using Paypal") | ||
Adds support for the [LESS](http://lesscss.org/) CSS pre-processor to [DocPad](https://docpad.org) | ||
@@ -3,0 +10,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5977
5
70
34
+ Addedajv@6.12.6(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedless@1.4.2(transitive)
+ Addedmime@1.2.11(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedmkdirp@0.3.5(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpsl@1.15.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
- Removedless@1.3.3(transitive)
Updatedless@~1.4.2