Adding test for document.namespaces for IE10 #19

Merged
merged 1 commit into from Aug 26, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

View
@@ -1,7 +1,7 @@
// Setup a very simple "virtual canvas" to make drawing the few shapes we need easier
// This is accessible as $(foo).simpledraw()
- if ($.browser.msie && !document.namespaces.v) {
+ if ($.browser.msie && document.namespaces && !document.namespaces.v) {
document.namespaces.add('v', 'urn:schemas-microsoft-com:vml', '#default#VML');
}