Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit f9c7c31

Browse files
author
Ulysse Prygiel
committed
Merge pull request #1 from Polymer/master
pull latest changes from polymer
2 parents 89c2639 + d1f2875 commit f9c7c31

File tree

2 files changed

+30
-4
lines changed

2 files changed

+30
-4
lines changed

context-free-parser.js

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/**
22
* @license
33
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
44
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -60,7 +60,7 @@
6060
};
6161
entities.push(current);
6262
break;
63-
63+
6464
// an entity may have these describable sub-features
6565
case 'attribute':
6666
case 'property':
@@ -94,7 +94,17 @@
9494
}
9595

9696
break;
97-
97+
98+
case 'extends':
99+
case 'mixins':
100+
var parts = content.split(' ');
101+
var subObj = {
102+
name: parts[0],
103+
url: parts[1] || null
104+
};
105+
makePragma(current, pragma, subObj);
106+
break;
107+
98108
// everything else
99109
default:
100110
current[pragma] = content;
@@ -127,4 +137,4 @@
127137
scope.ContextFreeParser = ContextFreeParser;
128138
}
129139

130-
})(this);
140+
})(this);

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "polymer-context-free-parser",
3+
"version": "0.4.2",
4+
"description": "context-free-parser scrapes source documentation data from input text or url.",
5+
"main": "context-free-parser.js",
6+
"repository": {
7+
"type": "git",
8+
"url": "ssh://[email protected]/Polymer/context-free-parser.git"
9+
},
10+
"author": "The Polymer Authors",
11+
"license": "BSD",
12+
"bugs": {
13+
"url": "https://github.com/Polymer/context-free-parser/issues"
14+
},
15+
"homepage": "https://github.com/Polymer/context-free-parser"
16+
}

0 commit comments

Comments
 (0)