Comments (4)
Good catch. d3/d3@b641eb5 from 5 months ago fixed d3/d3#1533, but introduced the issue for aight. Our shim should add createElementNS
to the prototype, not to the document
instance.
from aight.
Also, could you check if the current createElementNS
is reached when aight.js
is executed.. Either I'm doing something wrong, or there is an issue somewhere.
from aight.
Could this be a fix:
if (!('createElementNS' in HTMLDocument.prototype)) {
HTMLDocument.prototype.createElementNS = function(ns, name) {
if (ns) throw "sorry, this browser does not support namespaces";
return HTMLDocument.prototype.createElement.call(this, name);
};
}
? Let me know, and I'll put it in a pull request.
from aight.
Yep, that should do it.
from aight.
Related Issues (20)
- d3.v2 loads but not d3.v3 HOT 10
- jQuery.parseHTML breaks in IE8 with aight HOT 6
- Is the script type attribute necessary? HOT 1
- More unit tests! HOT 2
- incompatible with modernizr HOT 4
- Bump version in js/aight.js
- Non standard / breaking polyfills HOT 2
- Test for getComputedStyle is broken in browsers that implement the current Web IDL specification HOT 8
- setProperty() is not working for some rules HOT 2
- Make a real website
- Docs: note that jQuery needs to be included before aight
- Include Respond.js HOT 6
- Make the build process friendlier HOT 3
- Include History API pollyfill?
- In the IE8 createElementNS dosen't work, is there other better solution? HOT 1
- Aight CLI bug HOT 3
- Upgrade es5-shim
- IE8 standard popup "Are you sure you want to leave this page?"
- test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aight.