Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: polymer_1.0.4/bower_components/iron-form-element-behavior/demo/simple-element.html

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: polymer_1.0.4/bower_components/iron-form-element-behavior/demo/simple-element.html
diff --git a/polymer_0.4.0/bower_components/polymer-test-tools/tools.html b/polymer_1.0.4/bower_components/iron-form-element-behavior/demo/simple-element.html
similarity index 58%
copy from polymer_0.4.0/bower_components/polymer-test-tools/tools.html
copy to polymer_1.0.4/bower_components/iron-form-element-behavior/demo/simple-element.html
index f75915dc047c83c67a39d68e84e708314bb17c79..450276923b397593430aad8935db9d47812c28ef 100644
--- a/polymer_0.4.0/bower_components/polymer-test-tools/tools.html
+++ b/polymer_1.0.4/bower_components/iron-form-element-behavior/demo/simple-element.html
@@ -1,14 +1,27 @@
<!--
-Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
+@license
+Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
-<link rel="stylesheet" href="mocha/mocha.css" />
-<script src="mocha/mocha.js"></script>
-<script src="chai/chai.js"></script>
+<link rel="import" href="../../polymer/polymer.html">
+<link rel="import" href="../iron-form-element-behavior.html">
+
<script>
- window.assert = chai.assert;
+
+ Polymer({
+
+ is: 'simple-element',
+
+ extends: 'input',
+
+ behaviors: [
+ Polymer.IronFormElementBehavior
+ ]
+
+ });
+
</script>

Powered by Google App Engine
This is Rietveld 408576698