Skip to content

Commit

Permalink
Lock typescript version for now pending microsoft/TypeScript#8191
Browse files Browse the repository at this point in the history
  • Loading branch information
krisselden committed Apr 20, 2016
1 parent 7754bea commit 9663cff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,15 @@
"handlebars": "^3.0.2",
"qunit": "^0.7.2",
"simple-html-tokenizer": "^0.2.1",
"typescript": "next"
"typescript": "1.9.0-dev.20160407"
},
"devDependencies": {
"benchmark": "^1.0.0",
"bower": "~1.3.3",
"ember-cli": "^2.4.2",
"ember-cli-release": "^0.2.2",
"ember-cli-sauce": "^1.3.0",
"tslint": "next"
"tslint": "next",
"typescript": "1.9.0-dev.20160407"
}
}
}
10 changes: 5 additions & 5 deletions packages/glimmer-runtime/tests/initial-render-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -760,18 +760,18 @@ test("<foreignObject> tag has an SVG namespace", function() {

test("Namespaced and non-namespaced elements as siblings", function() {
compilesTo('<svg></svg><svg></svg><div></div>');
let [first, second, third] = root.childNodes;
equal(first.namespaceURI, SVG_NAMESPACE,
equal(root.childNodes[0].namespaceURI, SVG_NAMESPACE,
"creates the first svg element with a namespace");
equal(second.namespaceURI, SVG_NAMESPACE,
equal(root.childNodes[1].namespaceURI, SVG_NAMESPACE,
"creates the second svg element with a namespace");
equal(third.namespaceURI, XHTML_NAMESPACE,
equal(root.childNodes[2].namespaceURI, XHTML_NAMESPACE,
"creates the div element without a namespace");
});

test("Namespaced and non-namespaced elements with nesting", function() {
compilesTo('<div><svg></svg></div><div></div>');
let [firstDiv, secondDiv] = root.childNodes;
let firstDiv = root.firstChild;
let secondDiv = root.lastChild;
let svg = firstDiv.firstChild;
equal(firstDiv.namespaceURI, XHTML_NAMESPACE,
"first div's namespace is xhtmlNamespace");
Expand Down

0 comments on commit 9663cff

Please sign in to comment.