Skip to content

Commit

Permalink
remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Oct 17, 2013
1 parent aaad3d0 commit fd51b85
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/declaration/properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,13 @@
for (var n in prototype.observe) {
a.push(n);
}
// build value list
prototype._observeValues = valuesForNames(prototype._observeNames, prototype.observe);
}
if (prototype.publish) {
// construct name list
var a = prototype._publishNames = [];
for (var n in prototype.publish) {
a.push(n);
}
// build value list
prototype._publishValues = valuesForNames(prototype._publishNames, prototype.publish);
}
},
publishProperties: function(prototype, base) {
Expand Down Expand Up @@ -67,14 +63,6 @@
}
};

function valuesForNames(names, map) {
var values = [];
for (var i=0, l=names.length; i<l; i++) {
values[i] = map[names[i]];
}
return values;
}

// exports

scope.api.declaration.properties = properties;
Expand Down

0 comments on commit fd51b85

Please sign in to comment.