grunt-jasper
Advanced tools
Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "grunt-jasper", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Grunt task to build and package jasper application", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/jasperjs/grunt-jasper", |
@@ -187,8 +187,22 @@ /* | ||
} | ||
else { | ||
delete def.properties; | ||
} | ||
if (def.events) { | ||
def.events = utils.splitStringBySpace(def.events); | ||
} else { | ||
delete def.events; | ||
} | ||
} | ||
else if (def.attributes) { | ||
def.attributes = utils.getJasperAttributes(def.attributes); | ||
else { | ||
if (def.attributes) { | ||
def.attributes = utils.getJasperAttributes(def.attributes); | ||
} else { | ||
delete def.attributes; | ||
} | ||
delete def.properties; | ||
delete def.events; | ||
} | ||
@@ -195,0 +209,0 @@ |
@@ -5,3 +5,5 @@ [ | ||
"type": "component", | ||
"ctrl": "spa.core.components.SiteFooter" | ||
"ctrl": "spa.core.components.SiteFooter", | ||
"properties": "", | ||
"events": "" | ||
}, | ||
@@ -8,0 +10,0 @@ { |
58880
1325