Skip to content

Commit

Permalink
Add comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Oct 13, 2015
1 parent 74a87a0 commit 758c483
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/standard/annotations.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,18 @@
for (var j=0; j<bindings.length; j++) {
var binding = bindings[j];
if (binding.isCompound) {
// Create compound storage map
var storage = node.__compoundStorage__ ||
(node.__compoundStorage__ = {});
var parts = binding.parts;
// Copy literals from parts into storage for this binding
var literals = new Array(parts.length);
for (var k=0; k<parts.length; k++) {
literals[k] = parts[k].literal;
}
var name = binding.name;
storage[name] = literals;
// Configure properties with their literal parts
if (binding.kind == 'property') {
var literal = literals.join('');
if (node._configValue) {
Expand Down

0 comments on commit 758c483

Please sign in to comment.