diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-28 23:57:24 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-28 23:57:24 +0000 |
commit | 367f8ea350e8aac8368002b78456e3c61f6a2cd1 (patch) | |
tree | 7d57e5032b0288f2468f0bda7a672c7963eb34ea /third_party/jstemplate/jstemplate_jsunit.html | |
parent | 6afd6af9cf372e1ef691a0a106772ab5db391bce (diff) | |
download | chromium_src-367f8ea350e8aac8368002b78456e3c61f6a2cd1.zip chromium_src-367f8ea350e8aac8368002b78456e3c61f6a2cd1.tar.gz chromium_src-367f8ea350e8aac8368002b78456e3c61f6a2cd1.tar.bz2 |
Move jstemplate from chrome/third_party to third_party.
All third party libraries should be in third_party.
The presubmit check complains about jstemplate's README.chromium
being nonstandard; I will fix that in a follow-up.
The interesting changes are to the .grd file and the .py file.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6901102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83452 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 |