
1 df4VW Jun 11, 2015 用吧,没事。不过如果能用其他的比如ref搞定的就尽量别用jquery |
2 FrankFang128 Jun 11, 2015 via Android 你用$.ajax 就好 |
3 meteor2013 OP @df4VW @FrankFang128 那为什么我这样用的时候: var jquery = require('jquery'); var someHtmlIveDownloaded = '<html><head></head><body><h1>Hello World</h1></body></html>'; var jqueryElem = jquery(someHtmlIveDownloaded); 得到这个错误啊?document.createElement is not a function |
4 zythum nbsp; Jun 11, 2015 = =。你逗我呢。 |
5 zythum Jun 11, 2015 react-native 并不是吧webview嵌进来的方式。没有浏览器环境的。所以所有浏览器环境的库都是用不了的。node的库也是用不了的。只能用纯Javascript语言环境的库,比如underscore,lodash,when什么的。但是人家都可以用es6了这些库估计也没什么用了。 |
6 FrankFang128 Jun 11, 2015 @meteor2013 console.log(document.createElement) |