var sceneReadyBehavior = require('../../behavior-scene/scene-ready');
var handleDecodedXML = require('../../behavior-scene/util').handleDecodedXML;
var xmlCode = ``;
Page({
behaviors:[sceneReadyBehavior],
data: {
xmlCode: '
' + handleDecodedXML(xmlCode) + '
',
arDetected: false,
throwing: false
},
handleARDetected() {
this.setData({
arDetected: true
});
},
handleThrowStart() {
this.setData({
throwing: true
});
},
handleThrowEnd() {
this.setData({
throwing: false
});
}
});