diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-18 00:47:25 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-18 00:47:25 +0000 |
commit | 89e8523da19d3a8150f508e9fcbcfc797b9b9c0c (patch) | |
tree | 9b45dd58f14718e064b94df928f9549e4d52c3e5 /third_party/jstemplate/jstemplate_jsunit.html | |
parent | 70fa3a4c64429c867d837c4a31d8d11aafeb5a4f (diff) | |
download | chromium_src-89e8523da19d3a8150f508e9fcbcfc797b9b9c0c.zip chromium_src-89e8523da19d3a8150f508e9fcbcfc797b9b9c0c.tar.gz chromium_src-89e8523da19d3a8150f508e9fcbcfc797b9b9c0c.tar.bz2 |
Move chrome\third_party\jstemplate to third_party\jstemplate since it's used from ui\.
This is a cleanup after r177425 which I didn't want to do in that already large cl.
BUG=169170
Review URL: https://codereview.chromium.org/11971042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177551 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/jstemplate/jstemplate_jsunit.html')
-rw-r--r-- | third_party/jstemplate/jstemplate_jsunit.html | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/third_party/jstemplate/jstemplate_jsunit.html b/third_party/jstemplate/jstemplate_jsunit.html new file mode 100644 index 0000000..45d4c16 --- /dev/null +++ b/third_party/jstemplate/jstemplate_jsunit.html @@ -0,0 +1,67 @@ +<!-- +Copyright 2006 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> +<!-- +Fileoverview: JsUnit test runner page for jstemplates. + +Author: Steffen Meschkat (mesch@google.com) +--> +<html> + <head> + <title>jstemplate jsunit tests</title> + <script src="jsunit/app/jsUnitCore.js"></script> + <script src="util.js"></script> + <script src="jsevalcontext.js"></script> + <script src="jstemplate.js"></script> + <script src="jstemplate_unittest.js"></script> + </head> + <body> + +<!-- jsselect, jscontent, $this --> +<div id="t1"> + <div jsselect="items" jscontent="$this"></div> +</div> + +<!-- jsdisplay --> +<div id="t2"> + <div jsdisplay="display">display</div> +</div> +<div id="t2a"> + <div jsdisplay="this.id == showId" id="x">x</div> +</div> + +<!-- variables, jsvalues --> +<div id="t3" jsvalues="$href:'http://maps.google.com/'"> + <a href="http://www.google.com/" id="t3a" + jsvalues="href:$href;.foo.bar.baz:$href;.style.backgroundColor:'red';.bar:$href">link here</a> +</div> + +<div id="testJseval1" jseval="callback1()"></div> +<div id="testJseval2" jseval="callback1();callback2();"></div> + +<!-- transclude --> +<div id="parent"> + <div id="t4" transclude="t4a"></div> +</div> +<div id="t4a" jsvalues="$href:'http://maps.google.com/'"> + <a href="http://www.google.com/" jsvalues="href:$href">link here</a> +</div> + +<!-- scalar values as context --> +<div id="testScalarContext"> + <div jscontent="$this"></div> +</div> + </body> +</html>
\ No newline at end of file |