From 5a2e6bf52a3ad06634f94fc7a1816893b09493e5 Mon Sep 17 00:00:00 2001 From: Zeno Rocha Date: Mon, 14 Jul 2014 19:28:58 -0300 Subject: [PATCH 1/3] polymer.html should be included in the element level, not in the app level --- index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/index.html b/index.html index 85106b5..58856f3 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,6 @@ - From 47b8eda42d3a9728a442627b91baed8febb78970 Mon Sep 17 00:00:00 2001 From: Eric Bidelman Date: Mon, 21 Jul 2014 20:27:16 -0700 Subject: [PATCH 2/3] Add event and method params --- context-free-parser.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/context-free-parser.js b/context-free-parser.js index 666ebb5..442280c 100644 --- a/context-free-parser.js +++ b/context-free-parser.js @@ -69,6 +69,21 @@ case 'type': subCurrent[pragma] = content; break; + + case 'param': + var eventParmsRe = /\{(.+)\}\s+(\w+[.\w+]+)\s+(.*)$/; + + var params = content.match(eventParmsRe); + if (params) { + var subEventObj = { + type: params[1], + name: params[2], + description: params[3] + }; + makePragma(subCurrent, pragma + 's', subEventObj); + } + + break; // everything else default: From 0a7e8cde1ff4b5e1f4c47c8ce5501c9bae0fc1d5 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Wed, 27 Aug 2014 14:39:40 -0700 Subject: [PATCH 3/3] audit license headers --- context-free-parser.html | 9 +++++++++ context-free-parser.js | 10 ++++++++++ demo.html | 9 +++++++++ 3 files changed, 28 insertions(+) diff --git a/context-free-parser.html b/context-free-parser.html index 6aa8185..f7b05a3 100644 --- a/context-free-parser.html +++ b/context-free-parser.html @@ -1,3 +1,12 @@ + diff --git a/context-free-parser.js b/context-free-parser.js index 442280c..bd70d4b 100644 --- a/context-free-parser.js +++ b/context-free-parser.js @@ -1,3 +1,13 @@ +/* + * @license + * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt + */ + (function(scope) { var ContextFreeParser = { diff --git a/demo.html b/demo.html index 2a50156..4b3d3c4 100644 --- a/demo.html +++ b/demo.html @@ -1,3 +1,12 @@ +