Comparing version 3.0.1 to 3.0.2
@@ -138,3 +138,3 @@ 'use strict'; | ||
var figure = new _figure.Figure(_name.replace(/\.\w+$/, '')); | ||
var figure = new _figure.Figure(this.getTemplateName(_name)); | ||
if (asLibrary) { | ||
@@ -173,2 +173,7 @@ figure.perceivedAsLibrary = true; | ||
} | ||
}, { | ||
key: 'getTemplateName', | ||
value: function getTemplateName(name) { | ||
return name.split('/').pop().replace(/\.\w+$/, ''); | ||
} | ||
}]); | ||
@@ -175,0 +180,0 @@ |
{ | ||
"name": "monkberry", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "JavaScript DOM Template Engine", | ||
@@ -5,0 +5,0 @@ "bin": "./bin/monkberry", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
220898
3353
0