Commit c8a31f00 by ArronYR

fix wxParse use in android

parent 05984c50
...@@ -42,7 +42,7 @@ Page({ ...@@ -42,7 +42,7 @@ Page({
*/ */
onPullDownRefresh: function() { onPullDownRefresh: function() {
this.setData({ this.setData({
tasks: [], guides: [],
loading: true, loading: true,
hasMore: true, hasMore: true,
......
...@@ -109,14 +109,14 @@ function html2json(html, bindName) { ...@@ -109,14 +109,14 @@ function html2json(html, bindName) {
var name = attr.name; var name = attr.name;
var value = attr.value; var value = attr.value;
if (name == 'class') { if (name == 'class') {
console.dir(value); // console.dir(value);
// value = value.join("") // value = value.join("")
node.classStr = value; node.classStr = value;
} }
// has multi attibutes // has multi attibutes
// make it array of attribute // make it array of attribute
if (name == 'style') { if (name == 'style') {
console.dir(value); // console.dir(value);
// value = value.join("") // value = value.join("")
node.styleStr = value; node.styleStr = value;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment