Permalink
Browse files

Merge pull request #9 from wtfil/master

fixed proporty setting
  • Loading branch information...
2 parents e835f62 + 0220fc7 commit 03934674852d5892961b9c4d84c24a05f7ddbb51 @delfrrr committed Aug 8, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 i-bem/__json/i-bem__json.js
  2. +2 −2 package.json
@@ -255,7 +255,7 @@ if (typeof BEM === 'undefined') {
name = args[0],
val = args[1],
force = args[2];
- if (typeof val === 'undefined') {
+ if (arguments.length < 2) {
return properties[name];
}
if (force || !(properties.hasOwnProperty(name))) {
View
@@ -2,10 +2,10 @@
"author": "Vova Bilonenko",
"name": "bem-json",
"description": "Template engine for BEM",
- "version": "0.1.3",
+ "version": "0.1.4",
"repository": {
"type": "git",
"url": "https://github.com/delfrrr/bem-json.git"
},
"license": "MIT"
-}
+}

0 comments on commit 0393467

Please sign in to comment.