Skip to content

Commit

Permalink
Remove some vestigial code
Browse files Browse the repository at this point in the history
  • Loading branch information
tivac committed Nov 17, 2015
1 parent 2cc571d commit 7bc837f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/objectify.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function getClass(node) {

if(node.arguments[1] && node.arguments[1].type === "ObjectExpression") {
node.arguments[1].properties.some(function(property) {
var key = property.key.name || property.key.value;
var key = property.key.name;

if(key === "class") {
type = "class";
Expand Down Expand Up @@ -95,7 +95,7 @@ function parseAttrs(node, out) {
var className = getClass(node);

node.arguments[1].properties.forEach(function(property) {
var key = property.key.name || property.key.value,
var key = property.key.name,
css;

// Class combinations get weird, so handling specially
Expand Down

0 comments on commit 7bc837f

Please sign in to comment.