diff --git a/bower.json b/bower.json index a3174857ed..c34ec481b3 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "polymer", - "version": "1.4.0", + "version": "1.5.0", "main": [ "polymer.html", "polymer-mini.html", @@ -10,7 +10,12 @@ "ignore": [ "/.*", "/test/", - "gen-changelog.sh" + "/util/", + "/explainer/", + "gulpfile.js", + "PRIMER.md", + "CONTRIBUTING.md", + "CHANGELOG.md" ], "authors": [ "The Polymer Authors (http://polymer.github.io/AUTHORS.txt)" diff --git a/build.log b/build.log index 02051cbf8f..58e96f8fc1 100644 --- a/build.log +++ b/build.log @@ -1,300 +1,288 @@ BUILD LOG --------- -Build Time: 2016-03-18T10:39:17-0700 +Build Time: 2016-05-31T09:52:26-0700 NODEJS INFORMATION ================== -nodejs: v5.9.0 -abbrev: 1.0.7 +nodejs: v6.2.0 accepts: 1.2.13 -accessibility-developer-tools: 2.10.0 -acorn: 3.0.4 +abbrev: 1.0.7 adm-zip: 0.4.7 acorn-jsx: 2.0.1 -after: 0.8.1 align-text: 0.1.4 -amdefine: 1.0.0 +after: 0.8.1 ansi-cyan: 0.1.1 -ansi-escapes: 1.3.0 -ansi-regex: 2.0.0 ansi-red: 0.1.1 -ansi-styles: 2.2.0 +accessibility-developer-tools: 2.10.0 ansi-wrap: 0.1.0 +ansi-styles: 2.2.0 +amdefine: 1.0.0 +ansi-escapes: 1.3.0 archiver: 0.14.4 -append-field: 0.1.0 -argparse: 1.0.7 arr-diff: 1.1.0 -archy: 1.0.0 +ansi-regex: 2.0.0 arr-flatten: 1.0.1 arr-union: 2.1.0 array-differ: 1.0.0 -array-find-index: 1.0.1 +append-field: 0.1.0 +archy: 1.0.0 +argparse: 1.0.7 array-flatten: 1.1.1 array-slice: 0.2.3 +array-find-index: 1.0.1 array-union: 1.0.1 -arraybuffer.slice: 0.0.6 array-uniq: 1.0.2 arrify: 1.0.1 asap: 2.0.3 -assert-plus: 0.1.5 -asn1: 0.1.11 assertion-error: 1.0.1 +asn1: 0.1.11 async: 0.9.2 -aws4: 1.3.2 -aws-sign2: 0.5.0 +arraybuffer.slice: 0.0.6 babel-polyfill: 6.7.2 babel-regenerator-runtime: 6.5.0 -babel-runtime: 5.8.35 +assert-plus: 0.1.5 backo2: 1.0.2 -backoff: 2.5.0 +aws-sign2: 0.5.0 balanced-match: 0.3.0 +babel-runtime: 5.8.35 +aws4: 1.3.2 base64-arraybuffer: 0.1.2 +beeper: 1.1.0 base64-js: 0.0.8 base64id: 0.1.0 -beeper: 1.1.0 +backoff: 2.5.0 +binaryextensions: 1.0.0 benchmark: 1.0.0 better-assert: 1.0.2 binary: 0.3.0 -binaryextensions: 1.0.0 -bl: 0.9.5 blob: 0.0.4 -bluebird: 3.3.4 -boom: 0.4.2 body-parser: 1.15.0 -boxen: 0.3.1 +bluebird: 3.3.4 brace-expansion: 1.1.3 -browserstack: 1.4.0 -buffer-crc32: 0.2.5 +bl: 0.9.5 +boxen: 0.3.1 +boom: 0.4.2 bufferstreams: 1.1.0 +buffer-crc32: 0.2.5 +browserstack: 1.4.0 buffers: 0.1.1 builtin-modules: 1.1.1 -bunyan: 1.8.0 -busboy: 0.2.12 -bytes: 2.2.0 caller-path: 0.1.0 -callsite: 1.0.0 callsites: 0.2.0 +busboy: 0.2.12 camelcase: 2.1.1 +callsite: 1.0.0 camelcase-keys: 2.1.0 +bytes: 2.2.0 capture-stack-trace: 1.0.0 caseless: 0.8.0 +chalk: 1.1.1 center-align: 0.1.3 -chainsaw: 0.1.0 chai: 3.5.0 -chalk: 1.1.1 +chainsaw: 0.1.0 cleankill: 1.0.2 +clone: 1.0.2 +clone-stats: 0.0.1 +cli-width: 2.1.0 cli-cursor: 1.0.2 +color-convert: 1.0.0 cliui: 2.1.0 -cli-width: 2.1.0 -clone-stats: 0.0.1 -clone: 1.0.2 code-point-at: 1.0.0 -color-convert: 1.0.0 +component-emitter: 1.1.2 +component-bind: 1.0.0 combined-stream: 0.0.7 +concat-map: 0.0.1 commander: 2.3.0 -component-bind: 1.0.0 -component-emitter: 1.1.2 -component-inherit: 0.0.3 compress-commons: 0.2.9 -concat-map: 0.0.1 concat-stream: 1.5.1 configstore: 2.0.0 -content-disposition: 0.5.1 +component-inherit: 0.0.3 content-type: 1.0.1 -cookie: 0.1.5 +content-disposition: 0.5.1 +core-util-is: 1.0.2 cookie-signature: 1.0.6 +cookie: 0.1.5 +crc32-stream: 0.3.4 core-js: 2.2.0 -core-util-is: 1.0.2 crc: 3.2.1 -crc32-stream: 0.3.4 create-error-class: 2.0.1 +csv-parse: 1.0.2 cryptiles: 0.2.2 -csv: 0.4.6 csv-generate: 0.0.6 -csv-stringify: 0.0.8 -csv-parse: 1.0.2 -ctype: 0.5.3 -d: 0.1.1 +csv: 0.4.6 dashdash: 1.13.0 -dateformat: 1.0.12 +ctype: 0.5.3 +csv-stringify: 0.0.8 debug: 2.2.0 -decamelize: 1.2.0 debuglog: 1.0.1 -deep-eql: 0.1.3 -deep-extend: 0.4.1 -deep-is: 0.1.3 +d: 0.1.1 +decamelize: 1.2.0 defaults: 1.0.3 -delayed-stream: 0.0.5 -depd: 1.1.0 del: 2.2.0 +deep-is: 0.1.3 +deep-extend: 0.4.1 deprecated: 0.0.1 -destroy: 1.0.4 +deep-eql: 0.1.3 dezalgo: 1.0.3 +destroy: 1.0.4 +delayed-stream: 0.0.5 +depd: 1.1.0 dicer: 0.2.5 +dom5: 1.3.1 diff: 1.4.0 doctrine: 1.2.0 dom-serializer: 0.1.0 domelementtype: 1.3.0 -dom5: 1.3.1 domhandler: 2.3.0 -domutils: 1.5.1 -dot-prop: 2.4.0 duplexer: 0.1.1 -dtrace-provider: 0.6.0 duplexer2: 0.0.2 +dot-prop: 2.4.0 +domutils: 1.5.1 +dtrace-provider: 0.6.0 +end-of-stream: 0.1.5 ecc-jsbn: 0.1.1 ee-first: 1.1.1 engine.io: 1.6.8 -end-of-stream: 0.1.5 engine.io-client: 1.6.8 engine.io-parser: 1.2.4 -entities: 1.1.1 -es6-iterator: 2.0.0 error-ex: 1.3.0 -es5-ext: 0.10.11 +entities: 1.1.1 es6-map: 0.1.3 +es5-ext: 0.10.11 +es6-iterator: 2.0.0 +es6-weak-map: 2.0.1 es6-promise: 2.3.0 -es6-set: 0.1.4 es6-symbol: 3.0.2 -es6-weak-map: 2.0.1 -escape-html: 1.0.3 -escape-regexp-component: 1.0.2 +es6-set: 0.1.4 escape-string-regexp: 1.0.5 -escodegen: 1.8.0 escope: 3.6.0 -eslint: 2.4.0 -espree: 3.1.3 -esprima: 2.7.2 +escape-html: 1.0.3 eslint-plugin-html: 1.4.0 esrecurse: 4.1.0 +escape-regexp-component: 1.0.2 esutils: 2.0.2 estraverse: 4.2.0 +espree: 3.1.3 etag: 1.7.0 event-emitter: 0.3.4 -exit-hook: 1.1.1 -express: 4.13.4 -extend: 2.0.1 extend-shallow: 1.1.4 +express: 4.13.4 +exit-hook: 1.1.1 +fast-levenshtein: 1.1.3 extsprintf: 1.2.0 fancy-log: 1.2.0 -fast-levenshtein: 1.1.3 -figures: 1.4.0 file-entry-cache: 1.2.4 -filled-array: 1.1.0 -finalhandler: 0.4.1 +extend: 2.0.1 find-index: 0.1.1 +figures: 1.4.0 find-up: 1.1.2 -findup-sync: 0.3.0 +filled-array: 1.1.0 +finalhandler: 0.4.1 first-chunk-stream: 1.0.0 -flagged-respawn: 0.3.1 +findup-sync: 0.3.0 flat-cache: 1.0.10 -forever-agent: 0.5.2 +flagged-respawn: 0.3.1 +formidable: 1.0.17 form-data: 0.2.0 formatio: 1.1.1 -formidable: 1.0.17 -forwarded: 0.1.0 -freeport: 1.0.5 fresh: 0.3.0 -fstream: 0.1.31 +forever-agent: 0.5.2 +freeport: 1.0.5 gaze: 0.5.2 generate-function: 2.0.0 generate-object-property: 1.2.0 -get-stdin: 4.0.1 github-url-from-git: 1.4.0 github-url-from-username-repo: 1.0.2 glob: 6.0.4 glob-stream: 3.1.18 glob-watcher: 0.0.6 glob2base: 0.0.12 -globby: 4.0.0 globals: 8.18.0 +globby: 4.0.0 +fstream: 0.1.31 globule: 0.1.0 +forwarded: 0.1.0 +graceful-fs: 4.1.3 glogg: 1.0.0 got: 5.5.0 -graceful-fs: 4.1.3 -growl: 1.8.1 -graceful-readlink: 1.0.1 -gulp: 3.9.1 gulp-audit: 1.0.0 gulp-eslint: 2.0.0 gulp-rename: 1.2.2 gulp-replace: 0.5.4 gulp-util: 3.0.7 gulp-vulcanize: 6.1.0 +get-stdin: 4.0.1 gulplog: 1.0.0 -har-validator: 2.0.6 has-ansi: 2.0.0 -has-binary: 0.1.7 -has-color: 0.1.7 -has-cors: 1.1.0 +growl: 1.8.1 +graceful-readlink: 1.0.1 has-gulplog: 0.1.0 +has-binary: 0.1.7 hawk: 1.1.1 -hoek: 0.9.1 +has-cors: 1.1.0 +has-color: 0.1.7 hosted-git-info: 2.1.4 -htmlparser2: 3.9.0 http-errors: 1.4.0 -http-signature: 0.11.0 hydrolysis: 1.23.1 -iconv-lite: 0.4.13 +htmlparser2: 3.9.0 ignore: 2.2.19 +hoek: 0.9.1 +http-signature: 0.11.0 +iconv-lite: 0.4.13 imurmurhash: 0.1.4 -indent-string: 2.1.0 inflight: 1.0.4 -indexof: 0.0.1 inherits: 2.0.1 -ini: 1.3.4 -inquirer: 0.12.0 +indent-string: 2.1.0 +indexof: 0.0.1 interpret: 1.0.0 +inquirer: 0.12.0 +ini: 1.3.4 ipaddr.js: 1.0.5 -is-absolute: 0.1.7 is-arrayish: 0.2.1 +is-absolute: 0.1.7 is-buffer: 1.1.3 +is-my-json-valid: 2.13.1 is-builtin-module: 1.0.0 is-finite: 1.0.1 -is-fullwidth-code-point: 1.0.0 -is-my-json-valid: 2.13.1 -is-npm: 1.0.0 -is-obj: 1.0.0 is-path-cwd: 1.0.0 is-path-in-cwd: 1.0.0 is-path-inside: 1.0.0 -is-plain-obj: 1.1.0 +is-fullwidth-code-point: 1.0.0 is-property: 1.0.2 +is-npm: 1.0.0 +is-obj: 1.0.0 +is-resolvable: 1.0.0 +is-plain-obj: 1.1.0 is-redirect: 1.0.0 is-relative: 0.1.3 -is-resolvable: 1.0.0 is-retry-allowed: 1.0.0 -is-stream: 1.0.1 -is-typedarray: 1.0.0 -is-utf8: 0.2.1 isarray: 1.0.0 -isexe: 1.1.2 -isstream: 0.1.2 +is-utf8: 0.2.1 +is-typedarray: 1.0.0 istextorbinary: 1.0.2 -jade: 0.26.3 +isstream: 0.1.2 jju: 1.3.0 +isexe: 1.1.2 +is-stream: 1.0.1 jodid25519: 1.0.2 -js-yaml: 3.5.5 -jsbn: 0.1.0 json-parse-helpfulerror: 1.0.3 -json-schema: 0.2.2 +jsbn: 0.1.0 json-stable-stringify: 1.0.1 +json-schema: 0.2.2 +jsonpointer: 2.0.0 json-stringify-safe: 5.0.1 json3: 3.2.6 jsonify: 0.0.0 -jsonpointer: 2.0.0 -jsprim: 1.2.2 -keep-alive-agent: 0.0.1 kind-of: 1.1.0 -launchpad: 0.5.1 +jsprim: 1.2.2 latest-version: 2.0.0 -lazy-cache: 1.0.3 lazypipe: 1.0.1 -levn: 0.3.0 +launchpad: 0.5.1 +keep-alive-agent: 0.0.1 +lazy-cache: 1.0.3 +load-json-file: 1.1.0 lazystream: 0.1.0 -liftoff: 2.2.0 lodash: 1.0.2 -load-json-file: 1.1.0 lodash._basecopy: 3.0.1 lodash._basetostring: 3.0.1 lodash._basevalues: 3.0.0 @@ -306,248 +294,260 @@ lodash._reinterpolate: 3.0.0 lodash._root: 3.0.1 lodash.escape: 3.2.0 lodash.isarguments: 3.0.8 -lodash.keys: 3.1.2 lodash.isarray: 3.0.4 +lodash.keys: 3.1.2 lodash.restparam: 3.6.1 lodash.template: 3.6.2 lodash.templatesettings: 3.1.1 -lolex: 1.3.2 -longest: 1.0.1 -lowercase-keys: 1.0.0 +liftoff: 2.2.0 +levn: 0.3.0 loud-rejection: 1.3.0 +lowercase-keys: 1.0.0 lru-cache: 2.7.3 -map-obj: 1.0.1 -match-stream: 0.0.2 +longest: 1.0.1 +lolex: 1.3.2 media-typer: 0.3.0 meow: 3.7.0 -merge-descriptors: 1.0.1 -methods: 1.1.2 -mime: 1.3.4 -mime-types: 2.1.10 +map-obj: 1.0.1 +match-stream: 0.0.2 mime-db: 1.22.0 +merge-descriptors: 1.0.1 minimatch: 3.0.0 minimist: 1.2.0 -mocha: 2.4.5 -mkdirp: 0.5.1 +methods: 1.1.2 ms: 0.7.1 +mime-types: 2.1.10 moment: 2.12.0 -multer: 1.1.0 multipipe: 0.1.2 +multer: 1.1.0 mute-stream: 0.0.5 mv: 2.1.1 nan: 2.2.0 node-int64: 0.3.3 -ncp: 2.0.0 -node-status-codes: 1.0.0 negotiator: 0.5.3 -node-uuid: 1.4.7 -nomnom: 1.8.1 +node-status-codes: 1.0.0 normalize-package-data: 2.3.5 -nopt: 3.0.6 number-is-nan: 1.0.0 -oauth-sign: 0.5.0 object-assign: 4.0.1 +nomnom: 1.8.1 +once: 1.3.3 +oauth-sign: 0.5.0 object-component: 0.0.3 on-finished: 2.3.0 -once: 1.3.3 onetime: 1.1.0 -optionator: 0.8.1 -options: 0.0.6 orchestrator: 0.3.7 ordered-read-streams: 0.1.0 os-homedir: 1.0.1 +optionator: 0.8.1 +options: 0.0.6 os-tmpdir: 1.0.1 osenv: 0.1.3 +parse5: 1.5.1 over: 0.0.5 package-json: 2.3.1 parse-json: 2.2.0 -parse5: 1.5.1 -parseqs: 0.0.2 parsejson: 0.0.1 parseuri: 0.0.4 parseurl: 1.3.1 +parseqs: 0.0.2 path-exists: 2.1.0 -path-is-absolute: 1.0.0 path-is-inside: 1.0.1 -path-posix: 1.0.0 -path-to-regexp: 0.1.7 +path-is-absolute: 1.0.0 pify: 2.3.0 +path-posix: 1.0.0 path-type: 1.1.0 pinkie: 2.0.4 +path-to-regexp: 0.1.7 pinkie-promise: 2.0.0 -plist: 1.2.0 plugin-error: 0.1.2 -pluralize: 1.2.1 polyclean: 1.3.1 -precond: 0.2.3 prelude-ls: 1.1.2 -prepend-http: 1.0.3 -pretty-hrtime: 1.0.2 +precond: 0.2.3 +pluralize: 1.2.1 +plist: 1.2.0 process-nextick-args: 1.0.6 +pretty-hrtime: 1.0.2 +prepend-http: 1.0.3 progress: 1.1.8 proxy-addr: 1.0.10 -pseudomap: 1.0.2 pullstream: 0.4.1 +pseudomap: 1.0.2 +qs: 6.1.0 q: 1.4.1 range-parser: 1.0.3 -qs: 6.1.0 -raw-body: 2.1.6 -rc: 1.1.6 -read-all-stream: 3.1.0 read-installed: 3.1.5 -read-json-sync: 1.1.1 read-package-json: 1.3.3 +read-json-sync: 1.1.1 +raw-body: 2.1.6 +read-all-stream: 3.1.0 read-pkg: 1.1.0 -read-pkg-up: 1.0.1 readable-stream: 2.0.6 readdir-scoped-modules: 1.0.2 -readline2: 1.0.1 -rechoir: 0.6.2 redent: 1.0.0 -registry-url: 3.0.3 -repeat-string: 1.5.4 +rechoir: 0.6.2 +read-pkg-up: 1.0.1 +readline2: 1.0.1 replace-ext: 0.0.1 -repeating: 2.0.0 replacestream: 4.0.0 +repeat-string: 1.5.4 +registry-url: 3.0.3 request: 2.51.0 +repeating: 2.0.0 require-uncached: 1.0.2 resolve: 1.1.7 resolve-from: 1.0.1 -restify: 4.0.4 -restore-cursor: 1.0.1 right-align: 0.1.3 -run-async: 0.1.0 -rimraf: 2.5.2 +restore-cursor: 1.0.1 run-sequence: 1.1.5 -rx-lite: 3.1.2 +run-async: 0.1.0 safe-json-stringify: 1.0.3 -samsam: 1.1.2 +rx-lite: 3.1.2 sauce-connect-launcher: 0.14.0 -selenium-standalone: 5.0.0 +samsam: 1.1.2 +sequencify: 0.0.7 semver-diff: 2.1.0 -semver: 4.3.6 send: 0.11.1 -sequencify: 0.0.7 serve-static: 1.10.2 +sigmund: 1.0.1 serve-waterfall: 1.1.1 server-destroy: 1.0.1 setimmediate: 1.0.4 -shelljs: 0.5.3 -sigmund: 1.0.1 signal-exit: 2.1.2 -sinon-chai: 2.8.0 sinon: 1.17.3 -slice-ansi: 0.0.4 +slide: 1.1.6 +sinon-chai: 2.8.0 slice-stream: 1.0.0 +slice-ansi: 0.0.4 sntp: 0.2.4 -slide: 1.1.6 socket.io: 1.4.5 socket.io-adapter: 0.4.0 +sparkles: 1.0.0 socket.io-client: 1.4.5 socket.io-parser: 2.2.6 -source-map: 0.2.0 -sparkles: 1.0.0 spdx-correct: 1.0.2 -spdx-exceptions: 1.0.4 spdx-expression-parse: 1.0.2 +source-map: 0.2.0 +spdx-exceptions: 1.0.4 spdx-license-ids: 1.2.0 spdy: 1.32.5 sprintf-js: 1.0.3 -stacky: 1.3.1 -sshpk: 1.7.4 -statuses: 1.2.1 stream-combiner: 0.2.2 stream-consume: 0.1.0 +stacky: 1.3.1 stream-transform: 0.1.1 +statuses: 1.2.1 streamsearch: 0.1.2 +strip-ansi: 3.0.1 string-width: 1.0.1 string_decoder: 0.10.31 stringstream: 0.0.5 -strip-bom: 2.0.0 -strip-ansi: 3.0.1 -strip-indent: 1.0.1 -strip-json-comments: 1.0.4 supports-color: 2.0.0 -table: 3.7.8 +strip-bom: 2.0.0 tar-stream: 1.1.5 +table: 3.7.8 +textextensions: 1.0.1 temp: 0.8.3 -test-fixture: 1.1.0 -text-table: 0.2.0 through: 2.3.8 -textextensions: 1.0.1 +test-fixture: 1.1.0 through2: 2.0.1 -tildify: 1.1.2 +text-table: 0.2.0 time-stamp: 1.0.0 timed-out: 2.0.0 +tildify: 1.1.2 to-array: 0.1.4 +tryit: 1.0.2 tough-cookie: 2.2.2 -traverse: 0.3.9 trim-newlines: 1.0.0 -tryit: 1.0.2 +traverse: 0.3.9 tunnel-agent: 0.4.2 -tweetnacl: 0.14.1 tv4: 1.2.7 +tweetnacl: 0.14.1 type-check: 0.3.2 type-detect: 1.0.0 type-is: 1.6.12 typedarray: 0.0.6 -uglify-js: 2.6.2 uglify-to-browserify: 1.0.2 +unique-stream: 1.0.0 ultron: 1.0.2 -underscore: 1.6.0 underscore.string: 3.0.3 -unique-stream: 1.0.0 unpipe: 1.0.0 -unzip: 0.1.11 -unzip-response: 1.0.0 +underscore: 1.6.0 update-notifier: 0.6.3 +unzip-response: 1.0.0 +unzip: 0.1.11 urijs: 1.16.1 url-parse-lax: 1.0.0 -user-home: 1.1.1 -utf8: 2.1.0 util: 0.10.3 +utf8: 2.1.0 util-deprecate: 1.0.2 util-extend: 1.0.3 -utils-merge: 1.0.0 uuid: 2.0.1 -v8flags: 2.0.11 +utils-merge: 1.0.0 validate-npm-package-license: 3.0.1 -vargs: 0.1.0 -vary: 1.0.1 +v8flags: 2.0.11 verror: 1.6.1 +vargs: 0.1.0 vasync: 1.6.3 +vary: 1.0.1 vinyl: 0.5.3 vinyl-fs: 0.3.14 -wct-local: 2.0.2 -vulcanize: 1.14.7 wct-sauce: 1.8.4 -wd: 0.3.12 -web-component-tester: 4.2.2 -which: 1.2.4 -window-size: 0.1.0 +wct-local: 2.0.2 widest-line: 1.0.0 wrappy: 1.0.1 wordwrap: 1.0.0 -write: 0.2.1 +window-size: 0.1.0 write-file-atomic: 1.1.4 +write: 0.2.1 ws: 1.0.1 xdg-basedir: 2.0.0 xmlbuilder: 4.0.0 -xmlhttprequest-ssl: 1.5.1 xmldom: 0.1.22 -xregexp: 3.1.0 xtend: 4.0.1 +xmlhttprequest-ssl: 1.5.1 yallist: 2.0.0 +xregexp: 3.1.0 yargs: 3.10.0 -zip-stream: 0.5.2 +acorn: 3.0.4 yeast: 0.1.2 +zip-stream: 0.5.2 +bunyan: 1.8.0 +dateformat: 1.0.12 +escodegen: 1.8.0 +eslint: 2.4.0 +esprima: 2.7.2 +gulp: 3.9.1 +har-validator: 2.0.6 +js-yaml: 3.5.5 +jade: 0.26.3 +mime: 1.3.4 +mkdirp: 0.5.1 +mocha: 2.4.5 +ncp: 2.0.0 +node-uuid: 1.4.7 +nopt: 3.0.6 +rc: 1.1.6 +rimraf: 2.5.2 +restify: 4.0.4 +semver: 4.3.6 +selenium-standalone: 5.0.0 +shelljs: 0.5.3 +sshpk: 1.7.4 +strip-json-comments: 1.0.4 +strip-indent: 1.0.1 +uglify-js: 2.6.2 +user-home: 1.1.1 +vulcanize: 1.14.7 +web-component-tester: 4.2.2 +wd: 0.3.12 +which: 1.2.4 REPO REVISIONS ============== -release-polymer: 27d90bfaeb13f1d1a822f8a5e6e26a5403f5ed2c +release-polymer: 4e5a8f86f6550494aa22f53bb2022ee349691062 BUILD HASHES ============ -polymer-mini.html: c1c9dad708b2d558423c340bc2f17999f22ded4d -polymer-micro.html: 08313701e799be3c21779d86efd50b832920981b -polymer.html: ab293facd7eb68f1cdb44e794d97dd8ae5285c90 \ No newline at end of file +polymer-mini.html: 79a5b1d817cd557349502a4bd80d6b0c5ed161ec +polymer-micro.html: 8a1add5bd59fddb645fb55c3e4d54abb8c905c07 +polymer.html: b4d9c96ab2cad27b649dfea88ff1eb6100416fb7 \ No newline at end of file diff --git a/polymer-micro.html b/polymer-micro.html index cd3b5ea525..8953e19429 100644 --- a/polymer-micro.html +++ b/polymer-micro.html @@ -23,8 +23,7 @@ addEventListener('DOMContentLoaded', resolve); } } -}()); -window.Polymer = { +}());window.Polymer = { Settings: function () { var settings = window.Polymer || {}; var parts = location.search.slice(1).split('&'); @@ -43,8 +42,7 @@ settings.usePolyfillProto = !settings.useNativeCustomElements && !Object.__proto__; return settings; }() -}; -(function () { +};(function () { var userPolymer = window.Polymer; window.Polymer = function (prototype) { if (typeof prototype === 'function') { @@ -91,15 +89,13 @@ dumpRegistrations: function () { this.registrations.forEach(this._regLog); } -}; -Object.defineProperty(window, 'currentImport', { +};Object.defineProperty(window, 'currentImport', { enumerable: true, configurable: true, get: function () { return (document._currentScript || document.currentScript).ownerDocument; } -}); -Polymer.RenderStatus = { +});Polymer.RenderStatus = { _ready: false, _callbacks: [], whenReady: function (cb) { @@ -167,8 +163,7 @@ Polymer.RenderStatus._catchFirstRender(); } Polymer.ImportStatus = Polymer.RenderStatus; -Polymer.ImportStatus.whenLoaded = Polymer.ImportStatus.whenReady; -(function () { +Polymer.ImportStatus.whenLoaded = Polymer.ImportStatus.whenReady;(function () { 'use strict'; var settings = Polymer.Settings; Polymer.Base = { @@ -203,6 +198,9 @@ proto._finishRegisterFeatures(); } proto._doBehavior('registered'); +if (settings.usePolyfillProto && proto !== this) { +proto.extend(this, proto); +} } }, attachedCallback: function () { @@ -213,8 +211,11 @@ }); }, detachedCallback: function () { -this.isAttached = false; -this._doBehavior('detached'); +var self = this; +Polymer.RenderStatus.whenReady(function () { +self.isAttached = false; +self._doBehavior('detached'); +}); }, attributeChangedCallback: function (name, oldValue, newValue) { this._attributeChangedImpl(name); @@ -248,15 +249,36 @@ Object.defineProperty(target, name, pd); } }, -_log: console.log.apply.bind(console.log, console), -_warn: console.warn.apply.bind(console.warn, console), -_error: console.error.apply.bind(console.error, console), +_logger: function (level, args) { +if (args.length === 1 && Array.isArray(args[0])) { +args = args[0]; +} +switch (level) { +case 'log': +case 'warn': +case 'error': +console[level].apply(console, args); +break; +} +}, +_log: function () { +var args = Array.prototype.slice.call(arguments, 0); +this._logger('log', args); +}, +_warn: function () { +var args = Array.prototype.slice.call(arguments, 0); +this._logger('warn', args); +}, +_error: function () { +var args = Array.prototype.slice.call(arguments, 0); +this._logger('error', args); +}, _logf: function () { -return this._logPrefix.concat([this.is]).concat(Array.prototype.slice.call(arguments, 0)); +return this._logPrefix.concat(this.is).concat(Array.prototype.slice.call(arguments, 0)); } }; Polymer.Base._logPrefix = function () { -var color = window.chrome || /firefox/i.test(navigator.userAgent); +var color = window.chrome && !/edge/i.test(navigator.userAgent) || /firefox/i.test(navigator.userAgent); return color ? [ '%c[%s::%s]:', 'font-weight: bold; background-color:#EEEE00;' @@ -283,8 +305,7 @@ return Boolean(obj && obj.__isPolymerInstance__); }; Polymer.telemetry.instanceCount = 0; -}()); -(function () { +}());(function () { var modules = {}; var lcModules = {}; var findModule = function (id) { @@ -337,8 +358,7 @@ } } } -}()); -Polymer.Base._addFeature({ +}());Polymer.Base._addFeature({ _prepIs: function () { if (!this.is) { var module = (document._currentScript || document.currentScript).parentNode; @@ -351,8 +371,7 @@ this.is = this.is.toLowerCase(); } } -}); -Polymer.Base._addFeature({ +});Polymer.Base._addFeature({ behaviors: [], _desugarBehaviors: function () { if (this.behaviors.length) { @@ -433,8 +452,7 @@ detached: true, attributeChanged: true, ready: true -}; -Polymer.Base._addFeature({ +};Polymer.Base._addFeature({ _getExtendedPrototype: function (tag) { return this._getExtendedNativePrototype(tag); }, @@ -451,8 +469,7 @@ getNativePrototype: function (tag) { return Object.getPrototypeOf(document.createElement(tag)); } -}); -Polymer.Base._addFeature({ +});Polymer.Base._addFeature({ _prepConstructor: function () { this._factoryArgs = this.extends ? [ this.extends, @@ -478,8 +495,7 @@ } return elt; } -}); -Polymer.nob = Object.create(null); +});Polymer.nob = Object.create(null); Polymer.Base._addFeature({ properties: {}, getPropertyInfo: function (property) { @@ -538,8 +554,7 @@ } } } -}); -Polymer.CaseMap = { +});Polymer.CaseMap = { _caseMap: {}, _rx: { dashToCamel: /-[a-z]/g, @@ -553,8 +568,7 @@ camelToDashCase: function (camel) { return this._caseMap[camel] || (this._caseMap[camel] = camel.replace(this._rx.camelToDash, '-$1').toLowerCase()); } -}; -Polymer.Base._addFeature({ +};Polymer.Base._addFeature({ _addHostAttributes: function (attributes) { if (!this._aggregatedAttributes) { this._aggregatedAttributes = {}; @@ -664,9 +678,7 @@ return value != null ? value : undefined; } } -}); -Polymer.version = '1.4.0'; -Polymer.Base._addFeature({ +});Polymer.version = "1.5.0";Polymer.Base._addFeature({ _registerFeatures: function () { this._prepIs(); this._prepBehaviors(); @@ -682,4 +694,16 @@ this._marshalHostAttributes(); this._marshalBehaviors(); } -}); \ No newline at end of file +}); + + + + + + + + + + + + diff --git a/polymer-mini.html b/polymer-mini.html index 7b5df9c933..04ddb35ae2 100644 --- a/polymer-mini.html +++ b/polymer-mini.html @@ -31,8 +31,7 @@ var dom = document.importNode(template._content || template.content, true); return dom; } -}); -(function () { +});(function () { var baseAttachedCallback = Polymer.Base.attachedCallback; Polymer.Base._addFeature({ _hostStack: [], @@ -108,8 +107,7 @@ } } }); -}()); -Polymer.ArraySplice = function () { +}());Polymer.ArraySplice = function () { function newSplice(index, removed, addedCount) { return { index: index, @@ -278,8 +276,7 @@ } }; return new ArraySplice(); -}(); -Polymer.domInnerHTML = function () { +}();Polymer.domInnerHTML = function () { var escapeAttrRegExp = /[&\u00A0"]/g; var escapeDataRegExp = /[&\u00A0<>]/g; function escapeReplace(c) { @@ -375,8 +372,7 @@ return s; } return { getInnerHTML: getInnerHTML }; -}(); -(function () { +}();(function () { 'use strict'; var nativeInsertBefore = Element.prototype.insertBefore; var nativeAppendChild = Element.prototype.appendChild; @@ -572,8 +568,7 @@ return nativeRemoveChild.call(parentNode, node); } }; -}()); -Polymer.DomApi = function () { +}());Polymer.DomApi = function () { 'use strict'; var Settings = Polymer.Settings; var TreeApi = Polymer.TreeApi; @@ -690,8 +685,7 @@ var p = Element.prototype; DomApi.matchesSelector = p.matches || p.matchesSelector || p.mozMatchesSelector || p.msMatchesSelector || p.oMatchesSelector || p.webkitMatchesSelector; return DomApi; -}(); -(function () { +}();(function () { 'use strict'; var Settings = Polymer.Settings; var DomApi = Polymer.DomApi; @@ -1160,8 +1154,7 @@ DomApi.hasInsertionPoint = function (root) { return Boolean(root && root._insertionPoints.length); }; -}()); -(function () { +}());(function () { 'use strict'; var Settings = Polymer.Settings; var TreeApi = Polymer.TreeApi; @@ -1279,8 +1272,7 @@ 'nextElementSibling', 'previousElementSibling' ]); -}()); -Polymer.Base.extend(Polymer.dom, { +}());Polymer.Base.extend(Polymer.dom, { _flushGuard: 0, _FLUSH_MAX: 100, _needsTakeRecords: !Polymer.Settings.useNativeCustomElements, @@ -1328,8 +1320,7 @@ _finishFlush: function () { Polymer.dom._debouncers = []; } -}); -Polymer.EventApi = function () { +});Polymer.EventApi = function () { 'use strict'; var DomApi = Polymer.DomApi.ctor; var Settings = Polymer.Settings; @@ -1397,8 +1388,7 @@ return event.__eventApi; }; return { factory: factory }; -}(); -(function () { +}();(function () { 'use strict'; var DomApi = Polymer.DomApi.ctor; var useShadow = Polymer.Settings.useShadow; @@ -1437,8 +1427,7 @@ return this.node.classList.contains.apply(this.node.classList, arguments); } }; -}()); -(function () { +}());(function () { 'use strict'; var DomApi = Polymer.DomApi.ctor; var Settings = Polymer.Settings; @@ -1638,8 +1627,7 @@ } }); } -}()); -(function () { +}());(function () { 'use strict'; var DomApi = Polymer.DomApi.ctor; var Settings = Polymer.Settings; @@ -1690,8 +1678,7 @@ } }); } -}()); -(function () { +}());(function () { var DomApi = Polymer.DomApi; var TreeApi = Polymer.TreeApi; Polymer.Base._addFeature({ @@ -1998,8 +1985,7 @@ } } } -}()); -if (Polymer.Settings.useShadow) { +}());if (Polymer.Settings.useShadow) { Polymer.Base._addFeature({ _poolContent: function () { }, @@ -2017,8 +2003,7 @@ this.root = this.shadowRoot; } }); -} -Polymer.Async = { +}Polymer.Async = { _currVal: 0, _lastVal: 0, _callbacks: [], @@ -2068,8 +2053,7 @@ }; new window.MutationObserver(function () { Polymer.Async._atEndOfMicrotask(); -}).observe(Polymer.Async._twiddle, { characterData: true }); -Polymer.Debounce = function () { +}).observe(Polymer.Async._twiddle, { characterData: true });Polymer.Debounce = function () { var Async = Polymer.Async; var Debouncer = function (context) { this.context = context; @@ -2091,12 +2075,14 @@ if (this.finish) { this.finish(); this.finish = null; +this.callback = null; } }, complete: function () { if (this.finish) { +var callback = this.callback; this.stop(); -this.callback.call(this.context); +callback.call(this.context); } } }; @@ -2110,8 +2096,7 @@ return debouncer; } return debounce; -}(); -Polymer.Base._addFeature({ +}();Polymer.Base._addFeature({ _setupDebouncers: function () { this._debouncers = {}; }, @@ -2134,8 +2119,7 @@ debouncer.stop(); } } -}); -Polymer.DomModule = document.createElement('dom-module'); +});Polymer.DomModule = document.createElement('dom-module'); Polymer.Base._addFeature({ _registerFeatures: function () { this._prepIs(); @@ -2163,4 +2147,18 @@ }, _marshalBehavior: function (b) { } -}); \ No newline at end of file +}); + + + + + + + + + + + + + + diff --git a/polymer.html b/polymer.html index c94128b7fe..0f28f2241c 100644 --- a/polymer.html +++ b/polymer.html @@ -235,8 +235,7 @@ return root; } } -}; -(function () { +};(function () { function resolveCss(cssText, ownerDocument) { return cssText.replace(CSS_URL_RX, function (m, pre, url, post) { return pre + '\'' + resolve(url.replace(/["']/g, ''), ownerDocument) + '\'' + post; @@ -294,8 +293,7 @@ resolveAttrs: resolveAttrs, resolveUrl: resolveUrl }; -}()); -Polymer.Base._addFeature({ +}());Polymer.Base._addFeature({ _prepAnnotations: function () { if (!this._template) { this._notes = []; @@ -335,10 +333,12 @@ var pp = note.templateContent._parentProps = this._discoverTemplateParentProps(note.templateContent._notes); var bindings = []; for (var prop in pp) { +var name = '_parent_' + prop; bindings.push({ index: note.index, kind: 'property', -name: '_parent_' + prop, +name: name, +propertyName: name, parts: [{ mode: '{', model: prop, @@ -363,6 +363,9 @@ pp[model] = true; } } +if (p.signature.dynamicFn) { +pp[p.signature.method] = true; +} } else { if (p.model) { pp[p.model] = true; @@ -453,8 +456,7 @@ } } } -}); -Polymer.Base._addFeature({ +});Polymer.Base._addFeature({ listeners: {}, _listenListeners: function (listeners) { var node, name, eventName; @@ -535,8 +537,7 @@ _unlisten: function (node, eventName, handler) { node.removeEventListener(eventName, handler); } -}); -(function () { +});(function () { 'use strict'; var wrap = Polymer.DomApi.wrap; var HAS_NATIVE_TA = typeof document.head.style.touchAction === 'string'; @@ -717,9 +718,9 @@ Gestures.handleTouchAction(ev); } } -if (type === 'touchend' && !ev.__polymerSimulatedTouch) { +if (type === 'touchend') { POINTERSTATE.mouse.target = Polymer.dom(ev).rootTarget; -ignoreMouse(true); +ignoreMouse(); } } } @@ -867,6 +868,11 @@ if (recognizer.info) { recognizer.info.prevent = true; } +}, +resetMouseCanceller: function () { +if (POINTERSTATE.mouse.mouseIgnoreJob) { +POINTERSTATE.mouse.mouseIgnoreJob.complete(); +} } }; Gestures.register({ @@ -1179,8 +1185,7 @@ } }); Polymer.Gestures = Gestures; -}()); -Polymer.Base._addFeature({ +}());Polymer.Base._addFeature({ $$: function (slctr) { return Polymer.dom(this.root).querySelector(slctr); }, @@ -1356,9 +1361,7 @@ isLocalDescendant: function (node) { return this.root === Polymer.dom(node).getOwnerRoot(); } -}); -Polymer.Bind = { -_dataEventCache: {}, +});Polymer.Bind = { prepareModel: function (model) { Polymer.Base.mixin(model, this._modelApi); }, @@ -1531,8 +1534,7 @@ return context._notifyListener(changedFn, e); }); } -}; -Polymer.Base.extend(Polymer.Bind, { +};Polymer.Base.extend(Polymer.Bind, { _shouldAddListener: function (effect) { return effect.name && effect.kind != 'attribute' && effect.kind != 'text' && !effect.isCompound && effect.parts[0].mode === '{'; }, @@ -1541,10 +1543,7 @@ value = this._get(effect.value); this.__data__[effect.value] = value; } -var calc = effect.negate ? !value : value; -if (!effect.customEvent || this._nodes[effect.index][effect.name] !== calc) { -return this._applyEffectValue(effect, calc); -} +this._applyEffectValue(effect, value); }, _reflectEffect: function (source, value, effect) { this.reflectPropertyToAttribute(source, effect.attribute, value); @@ -1597,9 +1596,6 @@ var args = Polymer.Bind._marshalArgs(this.__data__, effect, source, value); if (args) { var computedvalue = fn.apply(computedHost, args); -if (effect.negate) { -computedvalue = !computedvalue; -} this._applyEffectValue(effect, computedvalue); } } else if (effect.dynamicFn) { @@ -1617,17 +1613,19 @@ var v; if (arg.literal) { v = arg.value; -} else if (arg.structured) { -v = Polymer.Base._get(name, model); +} else if (path === name) { +v = value; } else { v = model[name]; +if (v === undefined && arg.structured) { +v = Polymer.Base._get(name, model); +} } if (bailoutEarly && v === undefined) { return; } if (arg.wildcard) { -var baseChanged = name.indexOf(path + '.') === 0; -var matches = effect.trigger.name.indexOf(name) === 0 && !baseChanged; +var matches = path.indexOf(name + '.') === 0; values[i] = { path: matches ? path : name, value: matches ? value : v, @@ -1639,8 +1637,7 @@ } return values; } -}); -Polymer.Base._addFeature({ +});Polymer.Base._addFeature({ _addPropertyEffect: function (property, kind, effect) { var prop = Polymer.Bind.addPropertyEffect(this, property, kind, effect); prop.pathFn = this['_' + prop.kind + 'PathEffect']; @@ -1875,33 +1872,45 @@ _applyEffectValue: function (info, value) { var node = this._nodes[info.index]; var property = info.name; +value = this._computeFinalAnnotationValue(node, property, value, info); +if (info.customEvent && node[property] === value) { +return; +} +if (info.kind == 'attribute') { +this.serializeValueToAttribute(value, property, node); +} else { +var pinfo = node._propertyInfo && node._propertyInfo[property]; +if (pinfo && pinfo.readOnly) { +return; +} +this.__setProperty(property, value, false, node); +} +}, +_computeFinalAnnotationValue: function (node, property, value, info) { +if (info.negate) { +value = !value; +} if (info.isCompound) { var storage = node.__compoundStorage__[property]; storage[info.compoundIndex] = value; value = storage.join(''); } -if (info.kind == 'attribute') { -this.serializeValueToAttribute(value, property, node); -} else { +if (info.kind !== 'attribute') { if (property === 'className') { value = this._scopeElementClass(node, value); } if (property === 'textContent' || node.localName == 'input' && property == 'value') { value = value == undefined ? '' : value; } -var pinfo; -if (!node._propertyInfo || !(pinfo = node._propertyInfo[property]) || !pinfo.readOnly) { -this.__setProperty(property, value, false, node); -} } +return value; }, _executeStaticEffects: function () { if (this._propertyEffects && this._propertyEffects.__static__) { this._effectEffects('__static__', null, this._propertyEffects.__static__); } } -}); -(function () { +});(function () { var usePolyfillProto = Polymer.Settings.usePolyfillProto; Polymer.Base._addFeature({ _setupConfigure: function (initialConfig) { @@ -1968,13 +1977,14 @@ var fx = fx$[p]; if (fx) { for (var i = 0, l = fx.length, x; i < l && (x = fx[i]); i++) { -if (x.kind === 'annotation' && !x.isCompound) { +if (x.kind === 'annotation') { var node = this._nodes[x.effect.index]; var name = x.effect.propertyName; var isAttr = x.effect.kind == 'attribute'; var hasEffect = node._propertyEffects && node._propertyEffects[name]; if (node._configValue && (hasEffect || !isAttr)) { var value = p === x.effect.value ? config[p] : this._get(x.effect.value, config); +value = this._computeFinalAnnotationValue(node, name, value, x.effect); if (isAttr) { value = node.deserialize(this.serialize(value), node._propertyInfo[name].type); } @@ -2028,13 +2038,15 @@ this._handlers = []; } }); -}()); -(function () { +}());(function () { 'use strict'; Polymer.Base._addFeature({ notifyPath: function (path, value, fromAbove) { var info = {}; -this._get(path, this, info); +var v = this._get(path, this, info); +if (arguments.length === 1) { +value = v; +} if (info.path) { this._notifyPath(info.path, value, fromAbove); } @@ -2232,17 +2244,13 @@ keySplices: Polymer.Collection.applySplices(array, splices), indexSplices: splices }; -if (!array.hasOwnProperty('splices')) { -Object.defineProperty(array, 'splices', { -configurable: true, -writable: true -}); -} -array.splices = change; -this._notifyPath(path + '.splices', change); +var splicesPath = path + '.splices'; +this._notifyPath(splicesPath, change); this._notifyPath(path + '.length', array.length); -change.keySplices = null; -change.indexSplices = null; +this.__data__[splicesPath] = { +keySplices: null, +indexSplices: null +}; }, _notifySplice: function (array, path, index, added, removed) { this._notifySplices(array, path, [{ @@ -2337,8 +2345,7 @@ }); } }); -}()); -Polymer.Base._addFeature({ +}());Polymer.Base._addFeature({ resolveUrl: function (url) { var module = Polymer.DomModule.import(this.is); var root = ''; @@ -2348,8 +2355,7 @@ } return Polymer.ResolveUrl.resolveUrl(url, root); } -}); -Polymer.CssParse = function () { +});Polymer.CssParse = function () { return { parse: function (text) { text = this._clean(text); @@ -2493,8 +2499,7 @@ MEDIA_START: '@media', AT_START: '@' }; -}(); -Polymer.StyleUtil = function () { +}();Polymer.StyleUtil = function () { return { MODULE_STYLES_SELECTOR: 'style, link[rel=import][type~=css], template', INCLUDE_ATTR: 'include', @@ -2544,6 +2549,9 @@ }, applyCss: function (cssText, moniker, target, contextNode) { var style = this.createScopeStyle(cssText, moniker); +return this.applyStyle(style, target, contextNode); +}, +applyStyle: function (style, target, contextNode) { target = target || document.head; var after = contextNode && contextNode.nextSibling || target.firstChild; this.__lastHeadApplyNode = style; @@ -2612,8 +2620,7 @@ parser: Polymer.CssParse, ruleTypes: Polymer.CssParse.types }; -}(); -Polymer.StyleTransformer = function () { +}();Polymer.StyleTransformer = function () { var nativeShadow = Polymer.Settings.useNativeShadow; var styleUtil = Polymer.StyleUtil; var api = { @@ -2796,8 +2803,7 @@ var CLASS = 'class'; var CONTENT_START = new RegExp('^(' + CONTENT + ')'); return api; -}(); -Polymer.StyleExtends = function () { +}();Polymer.StyleExtends = function () { var styleUtil = Polymer.StyleUtil; return { hasExtends: function (cssText) { @@ -2867,8 +2873,7 @@ STRIP: /%[^,]*$/ } }; -}(); -(function () { +}();(function () { var prepElement = Polymer.Base._prepElement; var nativeShadow = Polymer.Settings.useNativeShadow; var styleUtil = Polymer.StyleUtil; @@ -2973,8 +2978,7 @@ } } }); -}()); -Polymer.StyleProperties = function () { +}());Polymer.StyleProperties = function () { 'use strict'; var nativeShadow = Polymer.Settings.useNativeShadow; var matchesSelector = Polymer.DomApi.matchesSelector; @@ -3236,12 +3240,20 @@ s.parentNode.removeChild(s); } } -if (nativeShadow || (!style || !style.parentNode)) { -if (nativeShadow && element._customStyle) { +if (nativeShadow) { +if (element._customStyle) { element._customStyle.textContent = cssText; style = element._customStyle; } else if (cssText) { -style = styleUtil.applyCss(cssText, selector, nativeShadow ? element.root : null, element._scopeStyle); +style = styleUtil.applyCss(cssText, selector, element.root); +} +} else { +if (!style) { +if (cssText) { +style = styleUtil.applyCss(cssText, selector, null, element._scopeStyle); +} +} else if (!style.parentNode) { +styleUtil.applyStyle(style, null, element._scopeStyle); } } if (style) { @@ -3282,8 +3294,7 @@ var v = 1 << n % 32; bits[o] = (bits[o] || 0) | v; } -}(); -(function () { +}();(function () { Polymer.StyleCache = function () { this.cache = {}; }; @@ -3329,8 +3340,7 @@ return this._objectsEqual(target, source) && this._objectsEqual(source, target); } }; -}()); -Polymer.StyleDefaults = function () { +}());Polymer.StyleDefaults = function () { var styleProperties = Polymer.StyleProperties; var StyleCache = Polymer.StyleCache; var api = { @@ -3371,8 +3381,7 @@ } }; return api; -}(); -(function () { +}();(function () { 'use strict'; var serializeValueToAttribute = Polymer.Base.serializeValueToAttribute; var propertyUtils = Polymer.StyleProperties; @@ -3533,8 +3542,7 @@ Polymer.customStyleCache = styleCache; var SCOPE_NAME = styleTransformer.SCOPE_NAME; var XSCOPE_NAME = propertyUtils.XSCOPE_NAME; -}()); -Polymer.Base._addFeature({ +}());Polymer.Base._addFeature({ _registerFeatures: function () { this._prepIs(); this._prepConstructor(); @@ -3580,8 +3588,7 @@ this._listenListeners(b.listeners); } } -}); -(function () { +});(function () { var propertyUtils = Polymer.StyleProperties; var styleUtil = Polymer.StyleUtil; var cssParse = Polymer.CssParse; @@ -3654,8 +3661,7 @@ }); } }); -}()); -Polymer.Templatizer = { +}());Polymer.Templatizer = { properties: { __hideTemplateChildren__: { observer: '_showHideChildren' } }, _instanceProps: Polymer.nob, _parentPropPrefix: '_parent_', @@ -3845,7 +3851,7 @@ var root = dot < 0 ? path : path.slice(0, dot); dataHost._forwardInstancePath.call(dataHost, this, path, value); if (root in dataHost._parentProps) { -dataHost._templatized.notifyPath(dataHost._parentPropPrefix + path, value); +dataHost._templatized._notifyPath(dataHost._parentPropPrefix + path, value); } }, _pathEffectorImpl: function (path, value, fromAbove) { @@ -3898,6 +3904,7 @@ if (host) { return host._scopeElementClass(node, value); } +return value; }, stamp: function (model) { model = model || {}; @@ -3925,8 +3932,7 @@ } } } -}; -Polymer({ +};Polymer({ is: 'dom-template', extends: 'template', _template: null, @@ -3934,8 +3940,7 @@ ready: function () { this.templatize(this); } -}); -Polymer._collections = new WeakMap(); +});Polymer._collections = new WeakMap(); Polymer.Collection = function (userArray) { Polymer._collections.set(userArray, this); this.userArray = userArray; @@ -4070,8 +4075,7 @@ Polymer.Collection.applySplices = function (userArray, splices) { var coll = Polymer._collections.get(userArray); return coll ? coll._applySplices(splices) : null; -}; -Polymer({ +};Polymer({ is: 'dom-repeat', extends: 'template', _template: null, @@ -4537,8 +4541,7 @@ var instance = this.modelForElement(el); return instance && instance[this.indexAs]; } -}); -Polymer({ +});Polymer({ is: 'array-selector', _template: null, properties: { @@ -4629,8 +4632,7 @@ } } } -}); -Polymer({ +});Polymer({ is: 'dom-if', extends: 'template', _template: null, @@ -4730,8 +4732,7 @@ this._instance._notifyPath(path, value, true); } } -}); -Polymer({ +});Polymer({ is: 'dom-bind', extends: 'template', _template: null, @@ -4814,3 +4815,32 @@ this.fire('dom-change'); } }); + + + + + + + + + + + + + + + + + + + + + + + + + + + + +