grunt-bake
Advanced tools
Comparing version 0.3.16 to 0.3.17
{ | ||
"name": "grunt-bake", | ||
"description": "Bake external includes into files to create static pages with no server-side compilation time", | ||
"version": "0.3.16", | ||
"version": "0.3.17", | ||
"homepage": "https://github.com/MathiasPaumgarten/grunt-bake", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -1,3 +0,7 @@ | ||
# grunt-bake [![Build Status](https://travis-ci.org/MathiasPaumgarten/grunt-bake.png?branch=master)](https://travis-ci.org/MathiasPaumgarten/grunt-bake) | ||
# grunt-bake | ||
[![Build Status](https://travis-ci.org/MathiasPaumgarten/grunt-bake.svg?branch=master)](https://travis-ci.org/MathiasPaumgarten/grunt-bake) | ||
[![Downloads](https://img.shields.io/npm/dm/grunt-bake.svg)](https://www.npmjs.com/package/grunt-bake) | ||
[![Version](https://img.shields.io/npm/v/grunt-bake.svg)](https://www.npmjs.com/package/grunt-bake) | ||
> Bake static pages for production while using modular files while in development. | ||
@@ -4,0 +8,0 @@ |
@@ -112,3 +112,3 @@ /* | ||
if ( value === undefined || value === false || string === "false" ) { | ||
if ( value === "" || value === undefined || value === false || string === "false" ) { | ||
return true; | ||
@@ -219,3 +219,18 @@ } | ||
if ( ! hasValue( value, values ) ) return true; | ||
if ( ! hasValue( value, values ) ) { | ||
return true; | ||
} else if ( value[ 0 ] === "!" ) { | ||
var name = value.substr( 1 ); | ||
return ! isFalse( resolveName( name, values ) ); | ||
} else if ( isFalse( resolveName( value, values ) ) ) { | ||
return true; | ||
} | ||
} | ||
@@ -222,0 +237,0 @@ |
37647
588
539