We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 732788a + 312ff24 commit ba75d9bCopy full SHA for ba75d9b
src/React/DOM.purs
@@ -281,9 +281,9 @@ module React.DOM where
281
\ var result = {}; \
282
\ for (var i = 0, len = props.length; i < len; i++) { \
283
\ var prop = props[i]; \
284
- \ var name = prop.ctor.substring(10); \
+ \ var name = prop.constructor.name; \
285
\ name = name[0].toLowerCase() + name.substring(1); \
286
- \ var val = prop.values[0]; \
+ \ var val = prop.value0; \
287
\ /* Until React.js handles data and aria like style*/ \
288
\ /* we have to unload the properties.*/ \
289
\ if (name === 'data' || name === 'aria') { \
0 commit comments