From a534f68ad5ebd90c88440a2b33c9b2d7070c479c Mon Sep 17 00:00:00 2001 From: Arthur Evans Date: Wed, 27 Aug 2014 16:52:07 -0700 Subject: [PATCH] Remove repetitive sentence. --- docs/polymer/polymer.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/polymer/polymer.md b/docs/polymer/polymer.md index 621aa9e68b..0bf3b47b92 100644 --- a/docs/polymer/polymer.md +++ b/docs/polymer/polymer.md @@ -141,7 +141,7 @@ which calls `Polymer`: -In case #2, where the script is invoked before the `` tag, +In case #2, where the script is invoked before the `` tag, the call to `Polymer` **must include the tag name**: // tagname.js @@ -186,20 +186,18 @@ Elements can be registered in pure JavaScript like this: You need to add the `` to the document so that the Custom Elements polyfill picks it up. -**Important:** Since the `Polymer` call here is outside the ``, +**Important:** Since the `Polymer` call here is outside the ``, it must include the tag name argument. {: .alert .alert-error } ### Adding public properties and methods {#propertiesmethods} -To define methods/properties on your element, pass a prototype object to `Polymer()`: +To define methods and properties on your element, pass a prototype object to `Polymer()`:
 Polymer([ tag-name, ] prototype);
 
-The _prototype_ can include custom properties and methods for your element. - The following example defines a property `message`, a property `greeting` using an ES5 getter, and a method `foo`: