Permalink
Browse files

fixed proporty setting

  • Loading branch information...
Engeniy Filatov
Engeniy Filatov committed Aug 2, 2013
1 parent e835f62 commit 0220fc7f33b74a32c0b20116a9cbd5abd2fcc76d
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 0220fc7

Please sign in to comment.