From 3a8f4b1daf99703bb50ab946ed22035ab73b9f1d Mon Sep 17 00:00:00 2001 From: "Scott J. Miles" Date: Fri, 6 Mar 2015 14:28:43 -0800 Subject: [PATCH 1/2] remove `modulate`, instead we will wait for ES6 modules to become native --- polymer-micro.html | 22 +- polymer-mini.html | 43 ++- polymer.html | 52 ++-- src/features/micro/attributes.html | 211 ++++++------- src/features/micro/constructor.html | 74 ++--- src/features/micro/extends.html | 79 +++-- src/features/micro/mixins.html | 60 ++-- src/features/micro/properties.html | 159 +++++----- src/features/mini/ready.html | 175 ++++++----- src/features/mini/shadow.html | 15 +- src/features/mini/shady.html | 15 +- src/features/mini/template.html | 69 ++--- src/features/standard/annotations.html | 132 ++++---- src/features/standard/configure.html | 204 +++++++------ src/features/standard/effects.html | 167 +++++------ src/features/standard/events.html | 120 ++++---- src/features/standard/notify-path.html | 30 +- src/features/standard/resolveUrl.html | 9 +- src/features/standard/styling.html | 51 ++-- src/features/standard/utils.html | 12 +- src/lib/annotations/annotations.html | 363 +++++++++++----------- src/lib/array-splice.html | 6 +- src/lib/async.html | 4 +- src/lib/base.html | 174 ++++++----- src/lib/bind/bind-annotations.html | 110 ++++--- src/lib/bind/bind-effects.html | 318 ++++++++++---------- src/lib/bind/bind.html | 399 ++++++++++++------------- src/lib/collection.html | 36 +-- src/lib/css-parse.html | 6 +- src/lib/debounce.html | 6 +- src/lib/dom-api.html | 9 +- src/lib/polymer.html | 68 +++++ src/lib/resolve-url.html | 7 +- src/lib/settings.html | 6 +- src/lib/style-transformer.html | 11 +- src/lib/style-util.html | 15 +- src/lib/template/templatizer.html | 17 +- src/lib/template/x-repeat.html | 2 +- src/lib/template/x-template.html | 2 +- src/polymer.html | 51 +--- test/unit/async.html | 6 +- test/unit/base.html | 22 +- test/unit/css-parse.html | 11 +- test/unit/micro.html | 5 + 44 files changed, 1649 insertions(+), 1704 deletions(-) create mode 100644 src/lib/polymer.html diff --git a/polymer-micro.html b/polymer-micro.html index 818fa15a02..4acbc14eec 100644 --- a/polymer-micro.html +++ b/polymer-micro.html @@ -17,21 +17,17 @@ diff --git a/polymer.html b/polymer.html index a56f23c92b..114fa83171 100644 --- a/polymer.html +++ b/polymer.html @@ -21,34 +21,30 @@ diff --git a/src/features/micro/extends.html b/src/features/micro/extends.html index fe00835c02..53805f4253 100644 --- a/src/features/micro/extends.html +++ b/src/features/micro/extends.html @@ -12,52 +12,67 @@ /** * Support `extends` property (for type-extension only). * - * If the mixin is String-valued, the corresponding Polymer module - * is mixed in. + * If the mixin is String-valued, the corresponding Polymer module + * is mixed in. * * Polymer({ - * mixins: [ - * someObject, - * 'PolymerMixinModuleName' - * ], + * is: 'pro-input', + * extends: 'input', * ... * }); + * + * Type-extension objects are created using `is` notation in HTML, or via + * the secondary argument to `document.createElement` (the type-extension + * rules are part of the Custom Elements specification, not something + * created by Polymer). + * + * Example: + * + * + * + * + * + * + * + * diff --git a/src/features/mini/shady.html b/src/features/mini/shady.html index b5e6c88e2e..a9819f1df1 100644 --- a/src/features/mini/shady.html +++ b/src/features/mini/shady.html @@ -11,14 +11,14 @@ diff --git a/src/features/mini/template.html b/src/features/mini/template.html index 6c754418bc..d0655d8b61 100644 --- a/src/features/mini/template.html +++ b/src/features/mini/template.html @@ -15,50 +15,45 @@ * The `template` feature locates and instances a `