diff --git a/bower_components/google-map/.bower.json b/bower_components/google-map/.bower.json
old mode 100755
new mode 100644
index 35a2169..73edd09
--- a/bower_components/google-map/.bower.json
+++ b/bower_components/google-map/.bower.json
@@ -1,6 +1,6 @@
{
"name": "google-map",
- "version": "1.1.0",
+ "version": "1.1.2",
"description": "Google Maps web components",
"homepage": "https://googlewebcomponents.github.io/google-map",
"main": [
@@ -36,11 +36,11 @@
"web-component-tester": "*",
"iron-component-page": "PolymerElements/iron-component-page#^1.0.2"
},
- "_release": "1.1.0",
+ "_release": "1.1.2",
"_resolution": {
"type": "version",
- "tag": "1.1.0",
- "commit": "c45ddfa8c48a67dda1b2237589edcd45bc3f7802"
+ "tag": "1.1.2",
+ "commit": "3567129ffac7df683346b5c9d8ad0c32e9213adb"
},
"_source": "git://github.com/GoogleWebComponents/google-map.git",
"_target": "^1.0.0",
diff --git a/bower_components/google-map/LICENSE b/bower_components/google-map/LICENSE
old mode 100755
new mode 100644
index 52aea39..52aea39
--- a/bower_components/google-map/LICENSE
+++ b/bower_components/google-map/LICENSE
diff --git a/bower_components/google-map/README.md b/bower_components/google-map/README.md
old mode 100755
new mode 100644
index 5448807..5448807
--- a/bower_components/google-map/README.md
+++ b/bower_components/google-map/README.md
diff --git a/bower_components/google-map/bower.json b/bower_components/google-map/bower.json
old mode 100755
new mode 100644
index abd6094..d2bcf5b
--- a/bower_components/google-map/bower.json
+++ b/bower_components/google-map/bower.json
@@ -1,6 +1,6 @@
{
"name": "google-map",
- "version": "1.1.0",
+ "version": "1.1.2",
"description": "Google Maps web components",
"homepage": "https://googlewebcomponents.github.io/google-map",
"main": [
diff --git a/bower_components/google-map/demo/index.html b/bower_components/google-map/demo/index.html
old mode 100755
new mode 100644
index bbbf01c..bbbf01c
--- a/bower_components/google-map/demo/index.html
+++ b/bower_components/google-map/demo/index.html
diff --git a/bower_components/google-map/google-map-directions.html b/bower_components/google-map/google-map-directions.html
old mode 100755
new mode 100644
index c6e7f62..c6e7f62
--- a/bower_components/google-map/google-map-directions.html
+++ b/bower_components/google-map/google-map-directions.html
diff --git a/bower_components/google-map/google-map-marker.html b/bower_components/google-map/google-map-marker.html
old mode 100755
new mode 100644
index e239fc7..8b68ae8
--- a/bower_components/google-map/google-map-marker.html
+++ b/bower_components/google-map/google-map-marker.html
@@ -42,8 +42,23 @@ child of `google-map`.
diff --git a/bower_components/google-map/google-map-search.html b/bower_components/google-map/google-map-search.html
old mode 100755
new mode 100644
index d166ae3..2baeab4
--- a/bower_components/google-map/google-map-search.html
+++ b/bower_components/google-map/google-map-search.html
@@ -11,7 +11,7 @@ information on the API.
#### Example:
-
@@ -119,7 +119,7 @@ information on the API.
location: {
type: Object,
value: null,
- readyOnly: true
+ readOnly: true
}
},
@@ -129,6 +129,13 @@ information on the API.
],
/**
+ * Fired when the details of a place are returned.
+ *
+ * @event google-map-search-place-detail
+ * @param {google.maps.MarkerPlace} detail The place details.
+ */
+
+ /**
* Fired when the search element returns a result.
*
* @event google-map-search-results
@@ -166,6 +173,26 @@ information on the API.
}
},
+ /**
+ * Fetches details for a given place.
+ * @param {String} placeId The place id.
+ * @return {Promise} place The place information.
+ */
+ getDetails: function(placeId) {
+ var places = new google.maps.places.PlacesService(this.map);
+
+ return new Promise(function(resolve, reject) {
+ places.getDetails({placeId: placeId}, function(place, status) {
+ if (status === google.maps.places.PlacesServiceStatus.OK) {
+ resolve(place);
+ this.fire('google-map-search-place-detail', place);
+ } else {
+ reject(status);
+ }
+ }.bind(this));
+ }.bind(this));
+ },
+
_gotResults: function(results, status) {
this.results = results.map(function(result) {
// obtain lat/long from geometry
diff --git a/bower_components/google-map/google-map.html b/bower_components/google-map/google-map.html
old mode 100755
new mode 100644
index 0e7643e..3be9cbb
--- a/bower_components/google-map/google-map.html
+++ b/bower_components/google-map/google-map.html
@@ -204,7 +204,8 @@ The `google-map` element renders a Google Map.
zoom: {
type: Number,
value: 10,
- observer: '_zoomChanged'
+ observer: '_zoomChanged',
+ notify: true
},
/**
@@ -221,7 +222,8 @@ The `google-map` element renders a Google Map.
mapType: {
type: String,
value: 'roadmap', // roadmap, satellite, hybrid, terrain,
- observer: '_mapTypeChanged'
+ observer: '_mapTypeChanged',
+ notify: true
},
/**
@@ -671,6 +673,10 @@ The `google-map` element renders a Google Map.
google.maps.event.addListener(this.map, 'zoom_changed', function() {
this.zoom = this.map.getZoom();
}.bind(this));
+
+ google.maps.event.addListener(this.map, 'maptypeid_changed', function() {
+ this.mapType = this.map.getMapTypeId();
+ }.bind(this));
this._clickEventsChanged();
this._dragEventsChanged();
diff --git a/bower_components/google-map/index.html b/bower_components/google-map/index.html
old mode 100755
new mode 100644
index c043544..c043544
--- a/bower_components/google-map/index.html
+++ b/bower_components/google-map/index.html
diff --git a/bower_components/google-map/metadata.html b/bower_components/google-map/metadata.html
old mode 100755
new mode 100644
index d67f827..d67f827
--- a/bower_components/google-map/metadata.html
+++ b/bower_components/google-map/metadata.html
diff --git a/bower_components/hydrolysis/.bower.json b/bower_components/hydrolysis/.bower.json
old mode 100755
new mode 100644
index 785a8f2..5287553
--- a/bower_components/hydrolysis/.bower.json
+++ b/bower_components/hydrolysis/.bower.json
@@ -19,13 +19,13 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
"web-component-tester": "*"
},
- "version": "1.15.2",
+ "version": "1.19.0",
"homepage": "https://github.com/Polymer/hydrolysis",
- "_release": "1.15.2",
+ "_release": "1.19.0",
"_resolution": {
"type": "version",
- "tag": "v1.15.2",
- "commit": "3b255182fd39a273c255ac2a49db8d06d96f667d"
+ "tag": "v1.19.0",
+ "commit": "8b0e8410712cc465a35b854ce86bfb6b23e2e9ab"
},
"_source": "git://github.com/Polymer/hydrolysis.git",
"_target": "^1.11",
diff --git a/bower_components/hydrolysis/.editorconfig b/bower_components/hydrolysis/.editorconfig
old mode 100755
new mode 100644
index 99b8533..99b8533
--- a/bower_components/hydrolysis/.editorconfig
+++ b/bower_components/hydrolysis/.editorconfig
diff --git a/bower_components/hydrolysis/.gitattributes b/bower_components/hydrolysis/.gitattributes
old mode 100755
new mode 100644
index 176a458..176a458
--- a/bower_components/hydrolysis/.gitattributes
+++ b/bower_components/hydrolysis/.gitattributes
diff --git a/bower_components/hydrolysis/API.md b/bower_components/hydrolysis/API.md
old mode 100755
new mode 100644
index c12b949..1751e6d
--- a/bower_components/hydrolysis/API.md
+++ b/bower_components/hydrolysis/API.md
@@ -24,31 +24,38 @@ Static analysis for Polymer.
* [.Analyzer](#hydrolysis.Analyzer)
* [new Analyzer(attachAST, [loader])](#new_hydrolysis.Analyzer_new)
* _instance_
- * [.elements](#hydrolysis.Analyzer#elements) : Array.<ElementDescriptor>
- * [.elementsByTagName](#hydrolysis.Analyzer#elementsByTagName) : Object.<string, ElementDescriptor>
- * [.features](#hydrolysis.Analyzer#features) : Array.<FeatureDescriptor>
- * [.behaviors](#hydrolysis.Analyzer#behaviors) : Array.<BehaviorDescriptor>
- * [.html](#hydrolysis.Analyzer#html) : Object.<string, AnalyzedDocument>
- * [.parsedDocuments](#hydrolysis.Analyzer#parsedDocuments) : Object
- * [._getDependencies(href, [found], [transitive])](#hydrolysis.Analyzer#_getDependencies) ⇒ Array.<string>
- * [.metadataTree(href)](#hydrolysis.Analyzer#metadataTree) ⇒ Promise
- * [.nodeWalkDocuments(predicate)](#hydrolysis.Analyzer#nodeWalkDocuments) ⇒ Object
- * [.annotate()](#hydrolysis.Analyzer#annotate)
- * [.clean()](#hydrolysis.Analyzer#clean)
+ * [.elements](#hydrolysis.Analyzer+elements) : Array.<ElementDescriptor>
+ * [.elementsByTagName](#hydrolysis.Analyzer+elementsByTagName) : Object.<string, ElementDescriptor>
+ * [.features](#hydrolysis.Analyzer+features) : Array.<FeatureDescriptor>
+ * [.behaviors](#hydrolysis.Analyzer+behaviors) : Array.<BehaviorDescriptor>
+ * [.behaviorsByName](#hydrolysis.Analyzer+behaviorsByName) : Object.<string, BehaviorDescriptor>
+ * [.html](#hydrolysis.Analyzer+html) : Object.<string, AnalyzedDocument>
+ * [.parsedDocuments](#hydrolysis.Analyzer+parsedDocuments) : Object
+ * [.parsedScripts](#hydrolysis.Analyzer+parsedScripts) : Object.<string, Array.<ParsedJS>>
+ * [._content](#hydrolysis.Analyzer+_content) : Object
+ * [._getDependencies(href, [found], [transitive])](#hydrolysis.Analyzer+_getDependencies) ⇒ Array.<string>
+ * [.metadataTree(href)](#hydrolysis.Analyzer+metadataTree) ⇒ Promise
+ * [.getLoadedAst(href, [loaded])](#hydrolysis.Analyzer+getLoadedAst) ⇒ Promise.<DocumentAST>
+ * [.nodeWalkDocuments(predicate)](#hydrolysis.Analyzer+nodeWalkDocuments) ⇒ Object
+ * [.nodeWalkAllDocuments(predicate)](#hydrolysis.Analyzer+nodeWalkAllDocuments) ⇒ Object
+ * [.annotate()](#hydrolysis.Analyzer+annotate)
+ * [.clean()](#hydrolysis.Analyzer+clean)
* _static_
* [.analyze(href, [options])](#hydrolysis.Analyzer.analyze) ⇒ Promise.<Analyzer>
* [.FileLoader](#hydrolysis.FileLoader)
* [new FileLoader()](#new_hydrolysis.FileLoader_new)
- * [.addResolver(resolver)](#hydrolysis.FileLoader#addResolver)
- * [.request(url)](#hydrolysis.FileLoader#request) ⇒ Promise.<string>
+ * [.addResolver(resolver)](#hydrolysis.FileLoader+addResolver)
+ * [.request(url)](#hydrolysis.FileLoader+request) ⇒ Promise.<string>
* [.FSResolver](#hydrolysis.FSResolver)
* [new FSResolver(config)](#new_hydrolysis.FSResolver_new)
* [.NoopResolver](#hydrolysis.NoopResolver)
* [new NoopResolver(config)](#new_hydrolysis.NoopResolver_new)
- * [.accept(uri, deferred)](#hydrolysis.NoopResolver#accept) ⇒ boolean
+ * [.accept(uri, deferred)](#hydrolysis.NoopResolver+accept) ⇒ boolean
* [.XHRResolver](#hydrolysis.XHRResolver)
* [new XHRResolver(config)](#new_hydrolysis.XHRResolver_new)
* [.DocumentAST](#hydrolysis.DocumentAST) : Object
+ * [.JSAST](#hydrolysis.JSAST) : Object
+ * [.ParsedJS](#hydrolysis.ParsedJS) : Object
* [.ElementDescriptor](#hydrolysis.ElementDescriptor) : Object
* [.FeatureDescriptor](#hydrolysis.FeatureDescriptor) : Object
* [.BehaviorDescriptor](#hydrolysis.BehaviorDescriptor) : Object
@@ -64,17 +71,22 @@ Static analysis for Polymer.
* [.Analyzer](#hydrolysis.Analyzer)
* [new Analyzer(attachAST, [loader])](#new_hydrolysis.Analyzer_new)
* _instance_
- * [.elements](#hydrolysis.Analyzer#elements) : Array.<ElementDescriptor>
- * [.elementsByTagName](#hydrolysis.Analyzer#elementsByTagName) : Object.<string, ElementDescriptor>
- * [.features](#hydrolysis.Analyzer#features) : Array.<FeatureDescriptor>
- * [.behaviors](#hydrolysis.Analyzer#behaviors) : Array.<BehaviorDescriptor>
- * [.html](#hydrolysis.Analyzer#html) : Object.<string, AnalyzedDocument>
- * [.parsedDocuments](#hydrolysis.Analyzer#parsedDocuments) : Object
- * [._getDependencies(href, [found], [transitive])](#hydrolysis.Analyzer#_getDependencies) ⇒ Array.<string>
- * [.metadataTree(href)](#hydrolysis.Analyzer#metadataTree) ⇒ Promise
- * [.nodeWalkDocuments(predicate)](#hydrolysis.Analyzer#nodeWalkDocuments) ⇒ Object
- * [.annotate()](#hydrolysis.Analyzer#annotate)
- * [.clean()](#hydrolysis.Analyzer#clean)
+ * [.elements](#hydrolysis.Analyzer+elements) : Array.<ElementDescriptor>
+ * [.elementsByTagName](#hydrolysis.Analyzer+elementsByTagName) : Object.<string, ElementDescriptor>
+ * [.features](#hydrolysis.Analyzer+features) : Array.<FeatureDescriptor>
+ * [.behaviors](#hydrolysis.Analyzer+behaviors) : Array.<BehaviorDescriptor>
+ * [.behaviorsByName](#hydrolysis.Analyzer+behaviorsByName) : Object.<string, BehaviorDescriptor>
+ * [.html](#hydrolysis.Analyzer+html) : Object.<string, AnalyzedDocument>
+ * [.parsedDocuments](#hydrolysis.Analyzer+parsedDocuments) : Object
+ * [.parsedScripts](#hydrolysis.Analyzer+parsedScripts) : Object.<string, Array.<ParsedJS>>
+ * [._content](#hydrolysis.Analyzer+_content) : Object
+ * [._getDependencies(href, [found], [transitive])](#hydrolysis.Analyzer+_getDependencies) ⇒ Array.<string>
+ * [.metadataTree(href)](#hydrolysis.Analyzer+metadataTree) ⇒ Promise
+ * [.getLoadedAst(href, [loaded])](#hydrolysis.Analyzer+getLoadedAst) ⇒ Promise.<DocumentAST>
+ * [.nodeWalkDocuments(predicate)](#hydrolysis.Analyzer+nodeWalkDocuments) ⇒ Object
+ * [.nodeWalkAllDocuments(predicate)](#hydrolysis.Analyzer+nodeWalkAllDocuments) ⇒ Object
+ * [.annotate()](#hydrolysis.Analyzer+annotate)
+ * [.clean()](#hydrolysis.Analyzer+clean)
* _static_
* [.analyze(href, [options])](#hydrolysis.Analyzer.analyze) ⇒ Promise.<Analyzer>
@@ -88,38 +100,55 @@ A database of Polymer metadata defined in HTML
| attachAST | boolean | If true, attach a parse5 compliant AST |
| [loader] | FileLoader | An optional `FileLoader` used to load external resources |
-
+
#### analyzer.elements : Array.<ElementDescriptor>
A list of all elements the `Analyzer` has metadata for.
**Kind**: instance property of [Analyzer](#hydrolysis.Analyzer)
-
+
#### analyzer.elementsByTagName : Object.<string, ElementDescriptor>
A view into `elements`, keyed by tag name.
**Kind**: instance property of [Analyzer](#hydrolysis.Analyzer)
-
+
#### analyzer.features : Array.<FeatureDescriptor>
A list of API features added to `Polymer.Base` encountered by the
analyzer.
**Kind**: instance property of [Analyzer](#hydrolysis.Analyzer)
-
+
#### analyzer.behaviors : Array.<BehaviorDescriptor>
The behaviors collected by the analysis pass.
**Kind**: instance property of [Analyzer](#hydrolysis.Analyzer)
-
+
+#### analyzer.behaviorsByName : Object.<string, BehaviorDescriptor>
+The behaviors collected by the analysis pass by name.
+
+**Kind**: instance property of [Analyzer](#hydrolysis.Analyzer)
+
#### analyzer.html : Object.<string, AnalyzedDocument>
A map, keyed by absolute path, of Document metadata.
**Kind**: instance property of [Analyzer](#hydrolysis.Analyzer)
-
+
#### analyzer.parsedDocuments : Object
A map, keyed by path, of HTML document ASTs.
**Kind**: instance property of [Analyzer](#hydrolysis.Analyzer)
-
+
+#### analyzer.parsedScripts : Object.<string, Array.<ParsedJS>>
+A map, keyed by path, of JS script ASTs.
+
+If the path is an HTML file with multiple scripts, the entry will be an array of scripts.
+
+**Kind**: instance property of [Analyzer](#hydrolysis.Analyzer)
+
+#### analyzer._content : Object
+A map, keyed by path, of document content.
+
+**Kind**: instance property of [Analyzer](#hydrolysis.Analyzer)
+
#### analyzer._getDependencies(href, [found], [transitive]) ⇒ Array.<string>
List all the html dependencies for the document at `href`.
@@ -132,7 +161,7 @@ List all the html dependencies for the document at `href`.
| [found] | Object.<string, boolean> | An object keyed by URL of the already resolved dependencies. |
| [transitive] | boolean | Whether to load transitive dependencies. Defaults to true. |
-
+
#### analyzer.metadataTree(href) ⇒ Promise
Returns a promise that resolves to a POJO representation of the import
tree, in a format that maintains the ordering of the HTML imports spec.
@@ -143,9 +172,35 @@ tree, in a format that maintains the ordering of the HTML imports spec.
| --- | --- | --- |
| href | string | the import to get metadata for. |
-
+
+#### analyzer.getLoadedAst(href, [loaded]) ⇒ Promise.<DocumentAST>
+Returns a promise resolving to a form of the AST with all links replaced
+with the document they link to. .css and .script files become <style> and
+<script>, respectively.
+
+The elements in the loaded document are unmodified from their original
+documents.
+
+**Kind**: instance method of [Analyzer](#hydrolysis.Analyzer)
+
+| Param | Type | Description |
+| --- | --- | --- |
+| href | string | The document to load. |
+| [loaded] | Object.<string, boolean> | An object keyed by already loaded documents. |
+
+
#### analyzer.nodeWalkDocuments(predicate) ⇒ Object
-Calls `dom5.nodeWalk` on each document that `Anayzler` has laoded.
+Calls `dom5.nodeWalkAll` on each document that `Anayzler` has laoded.
+
+**Kind**: instance method of [Analyzer](#hydrolysis.Analyzer)
+
+| Param | Type | Description |
+| --- | --- | --- |
+| predicate | Object | A dom5 predicate. |
+
+
+#### analyzer.nodeWalkAllDocuments(predicate) ⇒ Object
+Calls `dom5.nodeWalkAll` on each document that `Anayzler` has laoded.
**Kind**: instance method of [Analyzer](#hydrolysis.Analyzer)
@@ -153,12 +208,12 @@ Calls `dom5.nodeWalk` on each document that `Anayzler` has laoded.
| --- | --- | --- |
| predicate | Object | A dom5 predicate. |
-
+
#### analyzer.annotate()
Annotates all loaded metadata with its documentation.
**Kind**: instance method of [Analyzer](#hydrolysis.Analyzer)
-
+
#### analyzer.clean()
Removes redundant properties from the collected descriptors.
@@ -185,14 +240,14 @@ In order to properly filter paths, `href` _must_ be an absolute URI.
* [.FileLoader](#hydrolysis.FileLoader)
* [new FileLoader()](#new_hydrolysis.FileLoader_new)
- * [.addResolver(resolver)](#hydrolysis.FileLoader#addResolver)
- * [.request(url)](#hydrolysis.FileLoader#request) ⇒ Promise.<string>
+ * [.addResolver(resolver)](#hydrolysis.FileLoader+addResolver)
+ * [.request(url)](#hydrolysis.FileLoader+request) ⇒ Promise.<string>
#### new FileLoader()
A FileLoader lets you resolve URLs with a set of potential resolvers.
-
+
#### fileLoader.addResolver(resolver)
Add an instance of a Resolver class to the list of url resolvers
@@ -205,7 +260,7 @@ The first resolver to "accept" the url wins.
| --- | --- | --- |
| resolver | Resolver | The resolver to add. |
-
+
#### fileLoader.request(url) ⇒ Promise.<string>
Return a promise for an absolute url
@@ -241,7 +296,7 @@ Resolves requests via the file system.
* [.NoopResolver](#hydrolysis.NoopResolver)
* [new NoopResolver(config)](#new_hydrolysis.NoopResolver_new)
- * [.accept(uri, deferred)](#hydrolysis.NoopResolver#accept) ⇒ boolean
+ * [.accept(uri, deferred)](#hydrolysis.NoopResolver+accept) ⇒ boolean
#### new NoopResolver(config)
@@ -252,7 +307,7 @@ A resolver that resolves to null any uri matching config.
| --- | --- | --- |
| config | string | The url to `accept`. |
-
+
#### noopResolver.accept(uri, deferred) ⇒ boolean
**Kind**: instance method of [NoopResolver](#hydrolysis.NoopResolver)
**Returns**: boolean - Whether the URI is handled by this resolver.
@@ -280,6 +335,23 @@ Construct a resolver that requests resources over XHR.
Parse5's representation of a parsed html document
**Kind**: static typedef of [hydrolysis](#hydrolysis)
+
+### hydrolysis.JSAST : Object
+espree's representation of a parsed html document
+
+**Kind**: static typedef of [hydrolysis](#hydrolysis)
+
+### hydrolysis.ParsedJS : Object
+Package of a parsed JS script
+
+**Kind**: static typedef of [hydrolysis](#hydrolysis)
+**Properties**
+
+| Name | Type | Description |
+| --- | --- | --- |
+| ast | JSAST | The script's AST |
+| scriptElement | DocumentAST | If inline, the script's containing tag. |
+
### hydrolysis.ElementDescriptor : Object
The metadata for a single polymer element
diff --git a/bower_components/hydrolysis/LICENSE b/bower_components/hydrolysis/LICENSE
old mode 100755
new mode 100644
index 6333a69..6333a69
--- a/bower_components/hydrolysis/LICENSE
+++ b/bower_components/hydrolysis/LICENSE
diff --git a/bower_components/hydrolysis/README.md b/bower_components/hydrolysis/README.md
old mode 100755
new mode 100644
index 571809e..4971887
--- a/bower_components/hydrolysis/README.md
+++ b/bower_components/hydrolysis/README.md
@@ -1,6 +1,6 @@
# hydrolysis
-Static anlaysis utilities for polymer.
+Static analysis utilities for polymer.
## Install
```
diff --git a/bower_components/hydrolysis/bower.json b/bower_components/hydrolysis/bower.json
old mode 100755
new mode 100644
index a5d507d..d0b27e7
--- a/bower_components/hydrolysis/bower.json
+++ b/bower_components/hydrolysis/bower.json
@@ -19,5 +19,5 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
"web-component-tester": "*"
},
- "version": "1.15.1"
+ "version": "1.19.0"
}
diff --git a/bower_components/hydrolysis/hydrolysis-analyzer.html b/bower_components/hydrolysis/hydrolysis-analyzer.html
old mode 100755
new mode 100644
index 1b38be5..1b38be5
--- a/bower_components/hydrolysis/hydrolysis-analyzer.html
+++ b/bower_components/hydrolysis/hydrolysis-analyzer.html
diff --git a/bower_components/hydrolysis/hydrolysis.html b/bower_components/hydrolysis/hydrolysis.html
old mode 100755
new mode 100644
index fde7249..fde7249
--- a/bower_components/hydrolysis/hydrolysis.html
+++ b/bower_components/hydrolysis/hydrolysis.html
diff --git a/bower_components/hydrolysis/hydrolysis.js b/bower_components/hydrolysis/hydrolysis.js
old mode 100755
new mode 100644
index eca9419..41818e6
--- a/bower_components/hydrolysis/hydrolysis.js
+++ b/bower_components/hydrolysis/hydrolysis.js
@@ -13,7 +13,6 @@ require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof requ
'use strict';
// jshint -W079
var Promise = global.Promise || require('es6-promise').Promise;
-require("setimmediate");
// jshint +W079
var dom5 = require('dom5');
@@ -42,6 +41,20 @@ var EMPTY_METADATA = {elements: [], features: [], behaviors: []};
*/
/**
+ * espree's representation of a parsed html document
+ * @typedef {Object} JSAST
+ * @memberof hydrolysis
+ */
+
+/**
+ * Package of a parsed JS script
+ * @typedef {Object} ParsedJS
+ * @property {JSAST} ast The script's AST
+ * @property {DocumentAST} scriptElement If inline, the script's containing tag.
+ * @memberof hydrolysis
+ */
+
+/**
* The metadata for a single polymer element
* @typedef {Object} ElementDescriptor
* @memberof hydrolysis
@@ -125,13 +138,18 @@ var Analyzer = function Analyzer(attachAST,
this.behaviors = [];
/**
+ * The behaviors collected by the analysis pass by name.
+ *
+ * @member {Object}
+ */
+ this.behaviorsByName = {};
+
+ /**
* A map, keyed by absolute path, of Document metadata.
* @member {Object}
*/
this.html = {};
- this._parsedDocuments = {};
-
/**
* A map, keyed by path, of HTML document ASTs.
* @type {Object}
@@ -139,6 +157,17 @@ var Analyzer = function Analyzer(attachAST,
this.parsedDocuments = {};
/**
+ * A map, keyed by path, of JS script ASTs.
+ *
+ * If the path is an HTML file with multiple scripts, the entry will be an array of scripts.
+ *
+ * @type {Object>}
+ */
+ this.parsedScripts = {};
+
+
+
+ /**
* A map, keyed by path, of document content.
* @type {Object}
*/
@@ -207,11 +236,14 @@ function _defaultFilter(href) {
Analyzer.prototype.load = function load(href) {
return this.loader.request(href).then(function(content) {
return new Promise(function(resolve, reject) {
- setImmediate(function() {
+ setTimeout(function() {
this._content[href] = content;
resolve(this._parseHTML(content, href));
- }.bind(this));
- }.bind(this));
+ }.bind(this), 0);
+ }.bind(this)).catch(function(err){
+ console.error("Error processing document at " + href);
+ throw err;
+ });
}.bind(this));
};
@@ -240,8 +272,26 @@ Analyzer.prototype._parseHTML = function _parseHTML(htmlImport,
var htmlLoaded = Promise.resolve(parsed);
if (parsed.script) {
metadataLoaded = this._processScripts(parsed.script, href);
- depsLoaded.push(metadataLoaded);
}
+ var commentText = parsed.comment.map(function(comment){
+ return dom5.getTextContent(comment);
+ });
+ var pseudoElements = docs.parsePseudoElements(commentText);
+ pseudoElements.forEach(function(element){
+ element.contentHref = href;
+ this.elements.push(element);
+ this.elementsByTagName[element.is] = element;
+ }.bind(this));
+ metadataLoaded = metadataLoaded.then(function(metadata){
+ var metadataEntry = {
+ elements: pseudoElements,
+ features: [],
+ behaviors: []
+ };
+ return [metadata, metadataEntry].reduce(reduceMetadata);
+ });
+ depsLoaded.push(metadataLoaded);
+
if (this.loader) {
var baseUri = href;
@@ -278,7 +328,6 @@ Analyzer.prototype._parseHTML = function _parseHTML(htmlImport,
depsLoaded = Promise.all(depsLoaded)
.then(function() {return depHrefs;})
.catch(function(err) {throw err;});
- this._parsedDocuments[href] = parsed;
this.parsedDocuments[href] = parsed.ast;
this.html[href] = {
href: href,
@@ -305,7 +354,7 @@ Analyzer.prototype._processScript = function _processScript(script, href) {
var parsedJs;
if (!src) {
try {
- parsedJs = jsParse(script.childNodes[0].value);
+ parsedJs = jsParse((script.childNodes.length) ? script.childNodes[0].value : '');
} catch (err) {
// Figure out the correct line number for the error.
var line = 0;
@@ -318,7 +367,7 @@ Analyzer.prototype._processScript = function _processScript(script, href) {
col += err.column;
var message = "Error parsing script in " + href + " at " + line + ":" + col;
message += "\n" + err.description;
- throw new Error(message);
+ return Promise.reject(new Error(message));
}
if (parsedJs.elements) {
parsedJs.elements.forEach(function(element) {
@@ -342,9 +391,22 @@ Analyzer.prototype._processScript = function _processScript(script, href) {
if (parsedJs.behaviors) {
parsedJs.behaviors.forEach(function(behavior){
behavior.contentHref = href;
- });
+ this.behaviorsByName[behavior.is] = behavior;
+ this.behaviorsByName[behavior.symbol] = behavior;
+ }.bind(this));
this.behaviors = this.behaviors.concat(parsedJs.behaviors);
}
+ if (!Object.hasOwnProperty.call(this.parsedScripts, href)) {
+ this.parsedScripts[href] = [];
+ }
+ var scriptElement;
+ if (script.__ownerDocument && script.__ownerDocument == href) {
+ scriptElement = script;
+ }
+ this.parsedScripts[href].push({
+ ast: parsedJs.parsedScript,
+ scriptElement: scriptElement
+ });
return parsedJs;
}
if (this.loader) {
@@ -417,6 +479,38 @@ Analyzer.prototype._getDependencies = function _getDependencies(href, found, tra
});
};
+function matchesDocumentFolder(descriptor, href) {
+ if (!descriptor.contentHref) {
+ return false;
+ }
+ var descriptorDoc = url.parse(descriptor.contentHref);
+ if (!descriptorDoc || !descriptorDoc.pathname) {
+ return false;
+ }
+ var searchDoc = url.parse(href);
+ if (!searchDoc || !searchDoc.pathname) {
+ return false;
+ }
+ var searchPath = searchDoc.pathname;
+ var lastSlash = searchPath.lastIndexOf("/");
+ if (lastSlash > 0) {
+ searchPath = searchPath.slice(0, lastSlash);
+ }
+ return descriptorDoc.pathname.indexOf(searchPath) === 0;
+}
+
+Analyzer.prototype.elementsForFolder = function elementsForFolder(href) {
+ return this.elements.filter(function(element){
+ return matchesDocumentFolder(element, href);
+ });
+};
+
+Analyzer.prototype.behaviorsForFolder = function behaviorsForFolder(href) {
+ return this.behaviors.filter(function(behavior){
+ return matchesDocumentFolder(behavior, href);
+ });
+};
+
/**
* Returns a promise that resolves to a POJO representation of the import
* tree, in a format that maintains the ordering of the HTML imports spec.
@@ -545,12 +639,12 @@ Analyzer.prototype._inlineImports = function _inlineImports(ast, href, loaded) {
/**
* Returns a promise resolving to a form of the AST with all links replaced
- * with the document they link to. .css and .script files become
- [[_text]]
+
[[_text]]
+
diff --git a/bower_components/iron-ajax/test/iron-ajax.html b/bower_components/iron-ajax/test/iron-ajax.html
old mode 100755
new mode 100644
index 0b05e04..96dddde
--- a/bower_components/iron-ajax/test/iron-ajax.html
+++ b/bower_components/iron-ajax/test/iron-ajax.html
@@ -16,7 +16,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
-
+
@@ -37,6 +37,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
+
+
+
+
+ iron-request
-
+
@@ -86,50 +86,39 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
expect(request.xhr.async).to.be.eql(true);
});
- test('can be aborted', function (done) {
+ test('can be aborted', function () {
request.send(successfulRequestOptions);
request.abort();
server.respond();
- request.completes.then(function () {
- done(new Error('Request did not abort appropriately!'));
+ return request.completes.then(function () {
+ throw new Error('Request did not abort appropriately!');
}).catch(function (e) {
expect(request.response).to.not.be.ok;
- done();
});
});
- test('default responseType is text', function (done) {
-
+ test('default responseType is text', function () {
request.send(successfulRequestOptions);
server.respond();
- request.completes.then(function() {
+ return request.completes.then(function() {
expect(request.response).to.be.an('string')
- done();
- }).catch(function(e) {
- done(new Error('Response was not a Object'));
});
-
});
- test('responseType can be configured via handleAs option', function (done) {
-
+ test('responseType can be configured via handleAs option', function () {
var options = Object.create(successfulRequestOptions);
options.handleAs = 'json';
request.send(options);
server.respond();
- request.completes.then(function() {
+ return request.completes.then(function() {
expect(request.response).to.be.an('object');
- done();
- }).catch(function(e) {
- done(new Error('Response was not type Object'));
});
-
});
});
@@ -176,7 +165,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
});
server.respond();
-
+
expect(request.status).to.be.equal(0);
expect(request.statusText).to.be.equal('');
});
diff --git a/bower_components/iron-autogrow-textarea/.bower.json b/bower_components/iron-autogrow-textarea/.bower.json
old mode 100755
new mode 100644
index c71d167..89969e2
--- a/bower_components/iron-autogrow-textarea/.bower.json
+++ b/bower_components/iron-autogrow-textarea/.bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-autogrow-textarea",
- "version": "1.0.3",
+ "version": "1.0.6",
"description": "A textarea element that automatically grows with input",
"authors": [
"The Polymer Authors"
@@ -37,11 +37,11 @@
"paper-styles": "PolymerElements/paper-styles#^1.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
- "_release": "1.0.3",
+ "_release": "1.0.6",
"_resolution": {
"type": "version",
- "tag": "v1.0.3",
- "commit": "9eae088ce72a31b0baf44e6cdc183e5b73014af5"
+ "tag": "v1.0.6",
+ "commit": "e0465d41019cf03827f4820a254ce80e56266e99"
},
"_source": "git://github.com/PolymerElements/iron-autogrow-textarea.git",
"_target": "^1.0.0",
diff --git a/bower_components/iron-autogrow-textarea/.gitignore b/bower_components/iron-autogrow-textarea/.gitignore
old mode 100755
new mode 100644
index 8d4ae25..8d4ae25
--- a/bower_components/iron-autogrow-textarea/.gitignore
+++ b/bower_components/iron-autogrow-textarea/.gitignore
diff --git a/bower_components/iron-autogrow-textarea/README.md b/bower_components/iron-autogrow-textarea/README.md
old mode 100755
new mode 100644
index 7242abc..31eab9c
--- a/bower_components/iron-autogrow-textarea/README.md
+++ b/bower_components/iron-autogrow-textarea/README.md
@@ -6,19 +6,7 @@ never scroll.
Example:
-
-
-
+
Because the `textarea`'s `value` property is not observable, you should use
-this element's `bind-value` instead for imperative updates. Alternatively, if
-you do set the `textarea`'s `value` imperatively, you must also call `update`
-to notify this element the value has changed.
-
- Example:
- /* preferred, using the example HTML above*/
- a1.bindValue = 'some\ntext';
-
- /* alternatively, */
- t1.value = 'some\ntext';
- a1.update();
+this element's `bind-value` instead for imperative updates.
diff --git a/bower_components/iron-autogrow-textarea/bower.json b/bower_components/iron-autogrow-textarea/bower.json
old mode 100755
new mode 100644
index 810f88f..c30922c
--- a/bower_components/iron-autogrow-textarea/bower.json
+++ b/bower_components/iron-autogrow-textarea/bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-autogrow-textarea",
- "version": "1.0.3",
+ "version": "1.0.6",
"description": "A textarea element that automatically grows with input",
"authors": [
"The Polymer Authors"
diff --git a/bower_components/iron-autogrow-textarea/demo/index.html b/bower_components/iron-autogrow-textarea/demo/index.html
old mode 100755
new mode 100644
index 25a1c25..25a1c25
--- a/bower_components/iron-autogrow-textarea/demo/index.html
+++ b/bower_components/iron-autogrow-textarea/demo/index.html
diff --git a/bower_components/iron-autogrow-textarea/index.html b/bower_components/iron-autogrow-textarea/index.html
old mode 100755
new mode 100644
index 3be2964..3be2964
--- a/bower_components/iron-autogrow-textarea/index.html
+++ b/bower_components/iron-autogrow-textarea/index.html
diff --git a/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html b/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html
old mode 100755
new mode 100644
index cb1cd33..8742a14
--- a/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html
+++ b/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html
@@ -21,9 +21,7 @@ never scroll.
Example:
-
-
-
+
Because the `textarea`'s `value` property is not observable, you should use
this element's `bind-value` instead for imperative updates.
@@ -63,6 +61,7 @@ this element's `bind-value` instead for imperative updates.
height: 100%;
font-size: inherit;
font-family: inherit;
+ line-height: inherit;
}
::content textarea:invalid {
@@ -150,8 +149,8 @@ this element's `bind-value` instead for imperative updates.
* Bound to the textarea's `autofocus` attribute.
*/
autofocus: {
- type: String,
- value: 'off'
+ type: Boolean,
+ value: false
},
/**
@@ -220,6 +219,36 @@ this element's `bind-value` instead for imperative updates.
},
/**
+ * Returns textarea's selection start.
+ * @type Number
+ */
+ get selectionStart() {
+ return this.$.textarea.selectionStart;
+ },
+
+ /**
+ * Returns textarea's selection end.
+ * @type Number
+ */
+ get selectionEnd() {
+ return this.$.textarea.selectionEnd;
+ },
+
+ /**
+ * Sets the textarea's selection start.
+ */
+ set selectionStart(value) {
+ this.$.textarea.selectionStart = value;
+ },
+
+ /**
+ * Sets the textarea's selection end.
+ */
+ set selectionEnd(value) {
+ this.$.textarea.selectionEnd = value;
+ },
+
+ /**
* Returns true if `value` is valid. The validator provided in `validator`
* will be used first, if it exists; otherwise, the `textarea`'s validity
* is used.
@@ -243,17 +272,6 @@ this element's `bind-value` instead for imperative updates.
return valid;
},
- _update: function() {
- this.$.mirror.innerHTML = this._valueForMirror();
-
- var textarea = this.textarea;
- // If the value of the textarea was updated imperatively, then we
- // need to manually update bindValue as well.
- if (textarea && this.bindValue != textarea.value) {
- this.bindValue = textarea.value;
- }
- },
-
_bindValueChanged: function() {
var textarea = this.textarea;
if (!textarea) {
@@ -261,14 +279,13 @@ this element's `bind-value` instead for imperative updates.
}
textarea.value = this.bindValue;
- this._update();
+ this.$.mirror.innerHTML = this._valueForMirror();
// manually notify because we don't want to notify until after setting value
this.fire('bind-value-changed', {value: this.bindValue});
},
_onInput: function(event) {
this.bindValue = event.path ? event.path[0].value : event.target.value;
- this._update();
},
_constrain: function(tokens) {
@@ -302,5 +319,5 @@ this element's `bind-value` instead for imperative updates.
_computeValue: function() {
return this.bindValue;
}
- })
+ });
diff --git a/bower_components/iron-autogrow-textarea/test/basic.html b/bower_components/iron-autogrow-textarea/test/basic.html
old mode 100755
new mode 100644
index 00b7466..4ab7c36
--- a/bower_components/iron-autogrow-textarea/test/basic.html
+++ b/bower_components/iron-autogrow-textarea/test/basic.html
@@ -87,6 +87,18 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
var finalHeight = autogrow.offsetHeight
assert.isTrue(finalHeight < initialHeight);
});
+
+ test('textarea selection works', function() {
+ var autogrow = fixture('basic');
+ var textarea = autogrow.textarea;
+ autogrow.bindValue = 'batman\nand\nrobin';
+
+ autogrow.selectionStart = 3;
+ autogrow.selectionEnd = 5;
+
+ assert.equal(textarea.selectionStart, 3);
+ assert.equal(textarea.selectionEnd, 5);
+ });
});
suite('focus/blur events', function() {
diff --git a/bower_components/iron-autogrow-textarea/test/index.html b/bower_components/iron-autogrow-textarea/test/index.html
old mode 100755
new mode 100644
index 8790abe..8790abe
--- a/bower_components/iron-autogrow-textarea/test/index.html
+++ b/bower_components/iron-autogrow-textarea/test/index.html
diff --git a/bower_components/iron-collapse/.bower.json b/bower_components/iron-collapse/.bower.json
old mode 100755
new mode 100644
index 2dbabbf..2eecb88
--- a/bower_components/iron-collapse/.bower.json
+++ b/bower_components/iron-collapse/.bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-collapse",
- "version": "1.0.2",
+ "version": "1.0.3",
"description": "Provides a collapsable container",
"authors": [
"The Polymer Authors"
@@ -28,11 +28,11 @@
"paper-styles": "PolymerElements/paper-styles#^1.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
- "_release": "1.0.2",
+ "_release": "1.0.3",
"_resolution": {
"type": "version",
- "tag": "v1.0.2",
- "commit": "0b0228632fa005a57664d3bda8dbe14c89bec942"
+ "tag": "v1.0.3",
+ "commit": "08716fe08adec031ecbcfffd1811d27fea2f82ad"
},
"_source": "git://github.com/PolymerElements/iron-collapse.git",
"_target": "^1.0.0",
diff --git a/bower_components/iron-collapse/.gitignore b/bower_components/iron-collapse/.gitignore
old mode 100755
new mode 100644
index 8d4ae25..8d4ae25
--- a/bower_components/iron-collapse/.gitignore
+++ b/bower_components/iron-collapse/.gitignore
diff --git a/bower_components/iron-collapse/README.md b/bower_components/iron-collapse/README.md
old mode 100755
new mode 100644
index b11ac66..b11ac66
--- a/bower_components/iron-collapse/README.md
+++ b/bower_components/iron-collapse/README.md
diff --git a/bower_components/iron-collapse/bower.json b/bower_components/iron-collapse/bower.json
old mode 100755
new mode 100644
index 4c1a7a4..f0438df
--- a/bower_components/iron-collapse/bower.json
+++ b/bower_components/iron-collapse/bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-collapse",
- "version": "1.0.2",
+ "version": "1.0.3",
"description": "Provides a collapsable container",
"authors": [
"The Polymer Authors"
diff --git a/bower_components/iron-collapse/demo/index.html b/bower_components/iron-collapse/demo/index.html
old mode 100755
new mode 100644
index c9571ea..c9571ea
--- a/bower_components/iron-collapse/demo/index.html
+++ b/bower_components/iron-collapse/demo/index.html
diff --git a/bower_components/iron-collapse/index.html b/bower_components/iron-collapse/index.html
old mode 100755
new mode 100644
index b5d2007..b5d2007
--- a/bower_components/iron-collapse/index.html
+++ b/bower_components/iron-collapse/index.html
diff --git a/bower_components/iron-collapse/iron-collapse.html b/bower_components/iron-collapse/iron-collapse.html
old mode 100755
new mode 100644
index b8f72fd..96e475f
--- a/bower_components/iron-collapse/iron-collapse.html
+++ b/bower_components/iron-collapse/iron-collapse.html
@@ -14,7 +14,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
`iron-collapse` creates a collapsible block of content. By default, the content
will be collapsed. Use `opened` or `toggle()` to show/hide the content.
-
+
Content goes here...
@@ -134,21 +134,11 @@ and instead put a div inside and style that.
},
show: function() {
- this.toggleClass('iron-collapse-closed', false);
- this.updateSize('auto', false);
- var s = this._calcSize();
- this.updateSize('0px', false);
- // force layout to ensure transition will go
- this.offsetHeight;
- this.updateSize(s, true);
+ this.opened = true;
},
hide: function() {
- this.toggleClass('iron-collapse-opened', false);
- this.updateSize(this._calcSize(), false);
- // force layout to ensure transition will go
- this.offsetHeight;
- this.updateSize('0px', true);
+ this.opened = false;
},
updateSize: function(size, animated) {
@@ -171,7 +161,22 @@ and instead put a div inside and style that.
},
_openedChanged: function() {
- this[this.opened ? 'show' : 'hide']();
+ if (this.opened) {
+ this.toggleClass('iron-collapse-closed', false);
+ this.updateSize('auto', false);
+ var s = this._calcSize();
+ this.updateSize('0px', false);
+ // force layout to ensure transition will go
+ /** @suppress {suspiciousCode} */ this.offsetHeight;
+ this.updateSize(s, true);
+ }
+ else {
+ this.toggleClass('iron-collapse-opened', false);
+ this.updateSize(this._calcSize(), false);
+ // force layout to ensure transition will go
+ /** @suppress {suspiciousCode} */ this.offsetHeight;
+ this.updateSize('0px', true);
+ }
this.setAttribute('aria-expanded', this.opened ? 'true' : 'false');
},
diff --git a/bower_components/iron-collapse/test/basic.html b/bower_components/iron-collapse/test/basic.html
old mode 100755
new mode 100644
index 46b1b18..46b1b18
--- a/bower_components/iron-collapse/test/basic.html
+++ b/bower_components/iron-collapse/test/basic.html
diff --git a/bower_components/iron-collapse/test/horizontal.html b/bower_components/iron-collapse/test/horizontal.html
old mode 100755
new mode 100644
index 77ab89e..77ab89e
--- a/bower_components/iron-collapse/test/horizontal.html
+++ b/bower_components/iron-collapse/test/horizontal.html
diff --git a/bower_components/iron-collapse/test/index.html b/bower_components/iron-collapse/test/index.html
old mode 100755
new mode 100644
index e5e8a2e..e5e8a2e
--- a/bower_components/iron-collapse/test/index.html
+++ b/bower_components/iron-collapse/test/index.html
diff --git a/bower_components/iron-doc-viewer/.bower.json b/bower_components/iron-doc-viewer/.bower.json
old mode 100755
new mode 100644
index 368963f..83a0a19
--- a/bower_components/iron-doc-viewer/.bower.json
+++ b/bower_components/iron-doc-viewer/.bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-doc-viewer",
- "version": "1.0.3",
+ "version": "1.0.6",
"authors": [
"The Polymer Authors"
],
@@ -34,11 +34,11 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
"web-component-tester": "*"
},
- "_release": "1.0.3",
+ "_release": "1.0.6",
"_resolution": {
"type": "version",
- "tag": "v1.0.3",
- "commit": "034967a91951954b1de9f01559093b15b3b9c86d"
+ "tag": "v1.0.6",
+ "commit": "70dd8aabd19ed3c034adea9b0d39dc0456b0b923"
},
"_source": "git://github.com/PolymerElements/iron-doc-viewer.git",
"_target": "^1.0.1",
diff --git a/bower_components/iron-doc-viewer/README.md b/bower_components/iron-doc-viewer/README.md
old mode 100755
new mode 100644
index cf45c12..cf45c12
--- a/bower_components/iron-doc-viewer/README.md
+++ b/bower_components/iron-doc-viewer/README.md
diff --git a/bower_components/iron-doc-viewer/bower.json b/bower_components/iron-doc-viewer/bower.json
old mode 100755
new mode 100644
index 2133cd6..9bc6096
--- a/bower_components/iron-doc-viewer/bower.json
+++ b/bower_components/iron-doc-viewer/bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-doc-viewer",
- "version": "1.0.3",
+ "version": "1.0.6",
"authors": [
"The Polymer Authors"
],
diff --git a/bower_components/iron-doc-viewer/demo/index.html b/bower_components/iron-doc-viewer/demo/index.html
old mode 100755
new mode 100644
index 688a7b7..688a7b7
--- a/bower_components/iron-doc-viewer/demo/index.html
+++ b/bower_components/iron-doc-viewer/demo/index.html
diff --git a/bower_components/iron-doc-viewer/index.html b/bower_components/iron-doc-viewer/index.html
old mode 100755
new mode 100644
index 95d1991..95d1991
--- a/bower_components/iron-doc-viewer/index.html
+++ b/bower_components/iron-doc-viewer/index.html
diff --git a/bower_components/iron-doc-viewer/iron-doc-property.css b/bower_components/iron-doc-viewer/iron-doc-property.css
old mode 100755
new mode 100644
index dc4f210..9f528bf
--- a/bower_components/iron-doc-viewer/iron-doc-property.css
+++ b/bower_components/iron-doc-viewer/iron-doc-property.css
@@ -24,7 +24,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
#transitionMask {
position: relative;
overflow: hidden;
- padding-left: 160px;
}
[hidden] {
@@ -36,9 +35,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
width: 160px;
overflow: hidden;
text-overflow: ellipsis;
- position: absolute;
- left: 0;
- top: 0;
+ float: left;
}
#signature .name {
@@ -47,7 +44,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
:host([function]) #signature {
position: static;
- margin-left: -160px;
width: 100%;
}
@@ -60,9 +56,16 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
}
#details {
+ margin-left: 160px;
flex: 1;
}
+@media (max-width: 500px) {
+ #details {
+ margin-left: 0;
+ }
+}
+
/* Metadata */
#meta {
@@ -107,7 +110,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
#params marked-element {
display: inline-block;
}
-#params marked-element::shadow #content p {
+#params .markdown-html p {
margin: 0;
}
@@ -117,15 +120,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
display: block;
}
-#desc::shadow #content > :first-child {
+#desc .markdown-html > :first-child {
margin-top: 0;
}
-#desc::shadow #content > :last-child {
+#desc .markdown-html > :last-child {
margin-bottom: 0;
}
-#desc::shadow #content #content code {
+#desc .markdown-html code {
@apply(--paper-font-code1);
}
diff --git a/bower_components/iron-doc-viewer/iron-doc-property.html b/bower_components/iron-doc-viewer/iron-doc-property.html
old mode 100755
new mode 100644
index 91aa673..3abdde0
--- a/bower_components/iron-doc-viewer/iron-doc-property.html
+++ b/bower_components/iron-doc-viewer/iron-doc-property.html
@@ -38,15 +38,21 @@ Give it a hydrolysis `PropertyDescriptor` (via `descriptor`), and watch it go!
{{item.name}}{{item.type}}
-
+
+
+
Returns
{{descriptor.return.type}}
-
+
+
+
-
+
+
+
diff --git a/bower_components/iron-doc-viewer/iron-doc-viewer.css b/bower_components/iron-doc-viewer/iron-doc-viewer.css
old mode 100755
new mode 100644
index 0e8646c..c4c5d2b
--- a/bower_components/iron-doc-viewer/iron-doc-viewer.css
+++ b/bower_components/iron-doc-viewer/iron-doc-viewer.css
@@ -45,61 +45,62 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
padding: 4px 0;
}
-#summary marked-element::shadow #content pre {
+#summary .markdown-html pre {
background-color: var(--paper-grey-50);
border: solid #e5e5e5;
border-width: 1px 0;
overflow-x: auto;
padding: 12px 24px;
font-size: 15px;
+ word-wrap: break-word;
}
-#summary marked-element::shadow #content table {
+#summary .markdown-html table {
width: 100%;
border-collapse: collapse;
margin: 12px 0;
border-top: 1px solid #e5e5e5;
}
-#summary marked-element::shadow #content tr {
+#summary .markdown-html tr {
border-bottom: 1px solid #e5e5e5;
padding: 0 18px;
}
-#summary marked-element::shadow #content td,
-#summary marked-element::shadow #content th {
+#summary .markdown-html td,
+#summary .markdown-html th {
padding: 6px 12px;
}
-#summary marked-element::shadow #content td:first-child,
-#summary marked-element::shadow #content th:first-child {
+#summary .markdown-html td:first-child,
+#summary .markdown-html th:first-child {
padding-left: 24px;
}
-#summary marked-element::shadow #content td:last-child,
-#summary marked-element::shadow #content th:last-child {
+#summary .markdown-html td:last-child,
+#summary .markdown-html th:last-child {
padding-right: 24px;
}
-#summary marked-element::shadow #content code {
+#summary .markdown-html code {
@apply(--paper-font-code1);
}
-#summary marked-element::shadow #content p {
+#summary .markdown-html p {
padding: 0 24px;
}
-#summary marked-element::shadow #content a {
+#summary .markdown-html a {
color: var(--paper-indigo-a200);
font-weight: 500;
text-decoration: none;
}
-#summary marked-element::shadow #content h1,
-#summary marked-element::shadow #content h2,
-#summary marked-element::shadow #content h3,
-#summary marked-element::shadow #content h4,
-#summary marked-element::shadow #content h5 {
+#summary .markdown-html h1,
+#summary .markdown-html h2,
+#summary .markdown-html h3,
+#summary .markdown-html h4,
+#summary .markdown-html h5 {
padding: 0 18px;
}
@@ -148,4 +149,3 @@ iron-doc-property[configuration] {
padding: 16px 24px;
cursor: pointer;
}
-
diff --git a/bower_components/iron-doc-viewer/iron-doc-viewer.html b/bower_components/iron-doc-viewer/iron-doc-viewer.html
old mode 100755
new mode 100644
index 268aa7c..056801f
--- a/bower_components/iron-doc-viewer/iron-doc-viewer.html
+++ b/bower_components/iron-doc-viewer/iron-doc-viewer.html
@@ -8,7 +8,9 @@ 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
-->
-
+
+
+
@@ -52,7 +54,9 @@ property.
Documentation
-
+
+
+
+
+
+
+
I don't lock scroll!
+
+
+
+
@@ -131,6 +139,21 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
});
});
+ suite('locking scroll', function() {
+ var dropdown;
+
+ setup(function() {
+ dropdown = fixture('NonLockingDropdown');
+ });
+
+ test('can be disabled with `allowOutsideScroll`', function() {
+ dropdown.open();
+
+ expect(Polymer.IronDropdownScrollManager.elementIsScrollLocked(document.body))
+ .to.be.equal(false);
+ });
+ });
+
suite('aligned dropdown', function() {
var parent;
setup(function() {
diff --git a/bower_components/iron-elements/.bower.json b/bower_components/iron-elements/.bower.json
old mode 100755
new mode 100644
index 64cbc3a..488eb6c
--- a/bower_components/iron-elements/.bower.json
+++ b/bower_components/iron-elements/.bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-elements",
- "version": "1.0.2",
+ "version": "1.0.4",
"description": "A set of visual and non-visual utility elements. Includes elements for working with layout, user input, selection, and scaffolding apps",
"keywords": [
"web-components",
@@ -20,9 +20,11 @@
"iron-ajax": "PolymerElements/iron-ajax#^1.0.0",
"iron-autogrow-textarea": "PolymerElements/iron-autogrow-textarea#^1.0.0",
"iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0",
+ "iron-checked-element-behavior": "PolymerElements/iron-checked-element-behavior#^1.0.0",
"iron-collapse": "PolymerElements/iron-collapse#^1.0.0",
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
"iron-doc-viewer": "PolymerElements/iron-doc-viewer#^1.0.0",
+ "iron-dropdown": "PolymerElements/iron-dropdown#^1.0.0",
"iron-fit-behavior": "PolymerElements/iron-fit-behavior#^1.0.0",
"iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
"iron-form": "PolymerElements/iron-form#^1.0.0",
@@ -61,11 +63,11 @@
"test",
"tests"
],
- "_release": "1.0.2",
+ "_release": "1.0.4",
"_resolution": {
"type": "version",
- "tag": "v1.0.2",
- "commit": "63d565ea42faa4e80b266dad1f879c6ff5bf4600"
+ "tag": "v1.0.4",
+ "commit": "c9b524fef9bd71a3cb3616eb61dcee266258b7d0"
},
"_source": "git://github.com/polymerelements/iron-elements.git",
"_target": "~1.0.1",
diff --git a/bower_components/iron-elements/README.md b/bower_components/iron-elements/README.md
old mode 100755
new mode 100644
index b2ad025..0157693
--- a/bower_components/iron-elements/README.md
+++ b/bower_components/iron-elements/README.md
@@ -6,12 +6,12 @@ Basic building blocks for creating an application. Most of the `iron` elements w
### Elements in progress
-* `iron-list` - the upgraded version of a virtualized infinite list, previously named `core-list`. ETA: Couple weeks.
+_No `iron-elements` are currently in progress. [`iron-list`](https://github.com/polymerelements/iron-list) was the most recent to be released._
### Elements planned
_Elements we're planning on building soon but haven't started yet_
-* `iron-label` - still looking for the right way to bring what used to be `core-label` into the 1.0 world.
+* `iron-label` - still looking for the right way to bring what used to be `core-label` into the 1.0 world.
### Elements not planned, notably
_Elements we're not planning on building as part of this product line, but that one might be wondering about_
@@ -30,5 +30,5 @@ A number of elements existed as `core` elements that are not in this product lin
* `core-scroll-header-panel` - This had UI opinion, so it's been moved to [`paper-scroll-header-panel`](https://github.com/polymerelements/paper-scroll-header-panel).
* `core-splitter` - This element was relatively trivial, so we've put it off for now.
* `core-style` - This element is not useful with Polymer's new styling system. Check out the latest docs for more.
-* `core-tooltip` - This will become `paper-tooltip`.
-* `core-menu` - This had UI opinion, and will become `paper-dropdown-menu`.
+* `core-tooltip` - This has become `paper-tooltip`.
+* `core-menu` - This had UI opinion, and has become `paper-dropdown-menu`.
diff --git a/bower_components/iron-elements/bower.json b/bower_components/iron-elements/bower.json
old mode 100755
new mode 100644
index 62bfdb8..7f6a0cd
--- a/bower_components/iron-elements/bower.json
+++ b/bower_components/iron-elements/bower.json
@@ -1,6 +1,6 @@
{
"name": "iron-elements",
- "version": "1.0.1",
+ "version": "1.0.4",
"description": "A set of visual and non-visual utility elements. Includes elements for working with layout, user input, selection, and scaffolding apps",
"keywords": [
"web-components",
@@ -20,9 +20,11 @@
"iron-ajax": "PolymerElements/iron-ajax#^1.0.0",
"iron-autogrow-textarea": "PolymerElements/iron-autogrow-textarea#^1.0.0",
"iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0",
+ "iron-checked-element-behavior" : "PolymerElements/iron-checked-element-behavior#^1.0.0",
"iron-collapse": "PolymerElements/iron-collapse#^1.0.0",
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
"iron-doc-viewer": "PolymerElements/iron-doc-viewer#^1.0.0",
+ "iron-dropdown": "PolymerElements/iron-dropdown#^1.0.0",
"iron-fit-behavior": "PolymerElements/iron-fit-behavior#^1.0.0",
"iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
"iron-form": "PolymerElements/iron-form#^1.0.0",
diff --git a/bower_components/iron-flex-layout/.bower.json b/bower_components/iron-flex-layout/.bower.json
old mode 100755
new mode 100644
index 6533803..1f8ab2e
--- a/bower_components/iron-flex-layout/.bower.json
+++ b/bower_components/iron-flex-layout/.bower.json
@@ -1,12 +1,13 @@
{
"name": "iron-flex-layout",
- "version": "1.0.3",
+ "version": "1.0.4",
"description": "Provide flexbox-based layouts",
"keywords": [
"web-components",
"polymer",
"layout"
],
+ "main": "iron-flex-layout.html",
"private": true,
"license": "http://polymer.github.io/LICENSE.txt",
"authors": [
@@ -21,14 +22,15 @@
},
"devDependencies": {
"paper-styles": "polymerelements/paper-styles#^1.0.0",
- "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
+ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
+ "iron-component-page": "polymerelements/iron-component-page#^1.0.0"
},
"homepage": "https://github.com/PolymerElements/iron-flex-layout",
- "_release": "1.0.3",
+ "_release": "1.0.4",
"_resolution": {
"type": "version",
- "tag": "v1.0.3",
- "commit": "e6c2cfec18354973ac03e70dcd8afcc3c72d09b9"
+ "tag": "v1.0.4",
+ "commit": "dcfc54b0d358269bf0c72180b4ab090fc4931ecd"
},
"_source": "git://github.com/PolymerElements/iron-flex-layout.git",
"_target": "^1.0.0",
diff --git a/bower_components/iron-flex-layout/.gitignore b/bower_components/iron-flex-layout/.gitignore
old mode 100755
new mode 100644
index 1eb1fa5..1eb1fa5
--- a/bower_components/iron-flex-layout/.gitignore
+++ b/bower_components/iron-flex-layout/.gitignore
diff --git a/bower_components/iron-flex-layout/README.md b/bower_components/iron-flex-layout/README.md
old mode 100755
new mode 100644
index 895ed0f..895ed0f
--- a/bower_components/iron-flex-layout/README.md
+++ b/bower_components/iron-flex-layout/README.md
diff --git a/bower_components/iron-flex-layout/bower.json b/bower_components/iron-flex-layout/bower.json
old mode 100755
new mode 100644
index a300d51..42bd9bd
--- a/bower_components/iron-flex-layout/bower.json
+++ b/bower_components/iron-flex-layout/bower.json
@@ -1,12 +1,13 @@
{
"name": "iron-flex-layout",
- "version": "1.0.3",
+ "version": "1.0.4",
"description": "Provide flexbox-based layouts",
"keywords": [
"web-components",
"polymer",
"layout"
],
+ "main": "iron-flex-layout.html",
"private": true,
"license": "http://polymer.github.io/LICENSE.txt",
"authors": [
@@ -21,6 +22,7 @@
},
"devDependencies": {
"paper-styles": "polymerelements/paper-styles#^1.0.0",
- "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
+ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
+ "iron-component-page": "polymerelements/iron-component-page#^1.0.0"
}
}
diff --git a/bower_components/iron-flex-layout/classes/iron-flex-layout.html b/bower_components/iron-flex-layout/classes/iron-flex-layout.html
old mode 100755
new mode 100644
index 283c2a8..283c2a8
--- a/bower_components/iron-flex-layout/classes/iron-flex-layout.html
+++ b/bower_components/iron-flex-layout/classes/iron-flex-layout.html
diff --git a/bower_components/iron-flex-layout/classes/iron-shadow-flex-layout.html b/bower_components/iron-flex-layout/classes/iron-shadow-flex-layout.html
old mode 100755
new mode 100644
index c42067a..c42067a
--- a/bower_components/iron-flex-layout/classes/iron-shadow-flex-layout.html
+++ b/bower_components/iron-flex-layout/classes/iron-shadow-flex-layout.html
diff --git a/bower_components/iron-flex-layout/demo/index.html b/bower_components/iron-flex-layout/demo/index.html
old mode 100755
new mode 100644
index ea4df38..ea4df38
--- a/bower_components/iron-flex-layout/demo/index.html
+++ b/bower_components/iron-flex-layout/demo/index.html
diff --git a/bower_components/iron-flex-layout/demo/x-app.html b/bower_components/iron-flex-layout/demo/x-app.html
old mode 100755
new mode 100644
index 489a5f5..489a5f5
--- a/bower_components/iron-flex-layout/demo/x-app.html
+++ b/bower_components/iron-flex-layout/demo/x-app.html
diff --git a/bower_components/iron-flex-layout/index.html b/bower_components/iron-flex-layout/index.html
new file mode 100644
index 0000000..03ae3fb
--- /dev/null
+++ b/bower_components/iron-flex-layout/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+ iron-flex-layout
+
+
+
+
+
+
+
+
+
+
diff --git a/bower_components/iron-flex-layout/iron-flex-layout.html b/bower_components/iron-flex-layout/iron-flex-layout.html
old mode 100755
new mode 100644
index b7d1f08..c937958
--- a/bower_components/iron-flex-layout/iron-flex-layout.html
+++ b/bower_components/iron-flex-layout/iron-flex-layout.html
@@ -10,6 +10,20 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
+
+
+
+
+
+
+
+
diff --git a/bower_components/iron-form/index.html b/bower_components/iron-form/index.html
old mode 100755
new mode 100644
index acd7140..acd7140
--- a/bower_components/iron-form/index.html
+++ b/bower_components/iron-form/index.html
diff --git a/bower_components/iron-form/iron-form.html b/bower_components/iron-form/iron-form.html
old mode 100755
new mode 100644
index 4ce4b9f..7f6f41f
--- a/bower_components/iron-form/iron-form.html
+++ b/bower_components/iron-form/iron-form.html
@@ -139,7 +139,7 @@ call the form's `submit` method.
this._requestBot.withCredentials = this.withCredentials;
if (this.method.toUpperCase() == 'POST') {
- this._requestBot.body = JSON.stringify(json);
+ this._requestBot.body = json;
} else {
this._requestBot.params = json;
}
@@ -164,6 +164,8 @@ call the form's `submit` method.
* custom components and native elements of the form. If there are elements
* with duplicate names, then their values will get aggregated into an
* array of values.
+ *
+ * @return {!Object}
*/
serialize: function() {
var json = {};
@@ -238,12 +240,11 @@ call the form's `submit` method.
// Validate all the custom elements.
var validatable;
for (var el, i = 0; el = this._customElements[i], i < this._customElements.length; i++) {
- if (el.required && this._useValue(el)) {
+ if (el.required && !el.disabled) {
validatable = /** @type {{validate: (function() : boolean)}} */ (el);
- // TODO(notwaldorf): IronValidatableBehavior can return undefined if
- // a validator is not set. It probably shouldn't, but in the meantime
- // deal with that scenario.
- valid = !!validatable.validate() && valid;
+ // Some elements may not have correctly defined a validate method.
+ if (validatable.validate)
+ valid = !!validatable.validate() && valid;
}
}
diff --git a/bower_components/iron-form/test/basic.html b/bower_components/iron-form/test/basic.html
old mode 100755
new mode 100644
index 7503196..248431c
--- a/bower_components/iron-form/test/basic.html
+++ b/bower_components/iron-form/test/basic.html
@@ -91,6 +91,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This demo is for an <iron-icon> with an asynchronously loaded
+ iconset.
+