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

Unified Diff: test/data/input/data_value_test.html

Issue 11416259: fix #136, support watch exprs and two way bindings for component fields (Closed) Base URL: https://github.com/dart-lang/dart-web-components.git@master
Patch Set: Created 8 years, 1 month 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: test/data/input/data_value_test.html
diff --git a/test/data/input/data_value_test.html b/test/data/input/data_value_test.html
deleted file mode 100644
index 3ff9d0189617dd5410b69f9c7a8395abd35b5937..0000000000000000000000000000000000000000
--- a/test/data/input/data_value_test.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!doctype html>
-<!--
- Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
- for details. All rights reserved. Use of this source code is governed by a
- BSD-style license that can be found in the LICENSE file.
--->
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <script type="application/javascript" src="testing.js"></script>
- <style>x-greeter { display: block; }</style>
-</head>
-<body>
- <element name="x-greeter" extends="div" constructor="Greeter">
- <template>{{greeting}}, {{name}}!</template>
- <script type='application/dart'>
- import 'common.dart';
- import 'package:web_components/web_components.dart';
- class Greeter extends WebComponent {
- String greeting, name;
- }
- </script>
- </element>
- <p>
- This test has two loops, each over two items, for a total of four different
- greeting messages:
- </p>
- <template iterate="g in greetings">
- <template iterate="n in names">
- <x-greeter data-value="greeting:g, name:n"></x-greeter>
- </template>
- </template>
- <script type="application/dart">
- import 'dart:html';
- import 'package:unittest/unittest.dart';
-
- var greetings = ['hello', 'hi'];
- var names = ['world', 'universe'];
- main() {
- window.setTimeout(() {
- expect(query('x-greeter').attributes, equals({}));
- window.postMessage('done', '*');
- }, 0);
- }
- </script>
-</body>
-</html>
« no previous file with comments | « test/data/input/custom_radio_button_test.html ('k') | test/data/input/todomvc_listorder_shadowdom_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698