mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Move test and add to runner.
This commit is contained in:
parent
d69ee9a35e
commit
aeb44de787
@ -66,6 +66,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||||||
'unit/templatizer.html',
|
'unit/templatizer.html',
|
||||||
'unit/dom-repeat.html',
|
'unit/dom-repeat.html',
|
||||||
'unit/dom-if.html',
|
'unit/dom-if.html',
|
||||||
|
'unit/dom-template.html',
|
||||||
'unit/dom-bind.html',
|
'unit/dom-bind.html',
|
||||||
'unit/script-after-import-in-head.html',
|
'unit/script-after-import-in-head.html',
|
||||||
'unit/globals.html'
|
'unit/globals.html'
|
||||||
|
@ -11,9 +11,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../../../../webcomponentsjs/webcomponents-lite.js"></script>
|
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
|
||||||
<script src="../../../../web-component-tester/browser.js"></script>
|
<script src="../../../web-component-tester/browser.js"></script>
|
||||||
<link rel="import" href="../../../polymer.html">
|
<link rel="import" href="../../polymer.html">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@ -28,21 +28,25 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
Polymer({
|
HTMLImports.whenReady(function() {
|
||||||
is: 'test-dom-template',
|
|
||||||
|
|
||||||
properties: {
|
Polymer({
|
||||||
value: String
|
is: 'test-dom-template',
|
||||||
},
|
|
||||||
|
|
||||||
ready: function() {
|
properties: {
|
||||||
|
value: String
|
||||||
|
},
|
||||||
|
|
||||||
var tmpl = this.$.tmpl.stamp({
|
ready: function() {
|
||||||
text: 'ohai'
|
|
||||||
});
|
var tmpl = this.$.tmpl.stamp({
|
||||||
|
text: 'ohai'
|
||||||
|
});
|
||||||
|
|
||||||
|
this.value = tmpl.root.textContent.trim();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
this.value = tmpl.root.textContent.trim();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</dom-module>
|
</dom-module>
|
Loading…
Reference in New Issue
Block a user