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

Side by Side Diff: sky/tests/lowlevel/attribute-collection.sky

Issue 694423002: Replace <link rel="import"> with <import> (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <link rel="import" href="../resources/mocha.sky" /> 2 <import src="../resources/mocha.sky" />
3 <link rel="import" href="../resources/chai.sky" /> 3 <import src="../resources/chai.sky" />
4 <script> 4 <script>
5 describe("Attribute collection", function() { 5 describe("Attribute collection", function() {
6 var div; 6 var div;
7 beforeEach(function() { 7 beforeEach(function() {
8 div = document.createElement("div"); 8 div = document.createElement("div");
9 }); 9 });
10 10
11 it("should get by index", function() { 11 it("should get by index", function() {
12 div.setAttribute("attr0", "value0"); 12 div.setAttribute("attr0", "value0");
13 div.setAttribute("attr1", "value1"); 13 div.setAttribute("attr1", "value1");
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 assert.equal(oldAttributes[0].name, "attr0"); 53 assert.equal(oldAttributes[0].name, "attr0");
54 assert.equal(oldAttributes[0].value, "0"); 54 assert.equal(oldAttributes[0].value, "0");
55 assert.equal(oldAttributes[1].name, "attr1"); 55 assert.equal(oldAttributes[1].name, "attr1");
56 assert.equal(oldAttributes[1].value, "1"); 56 assert.equal(oldAttributes[1].value, "1");
57 assert.equal(oldAttributes[2].name, "attr2"); 57 assert.equal(oldAttributes[2].name, "attr2");
58 assert.equal(oldAttributes[2].value, "2"); 58 assert.equal(oldAttributes[2].value, "2");
59 }); 59 });
60 }); 60 });
61 </script> 61 </script>
62 </html> 62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698