Commit adb277fc authored by Sven Franck's avatar Sven Franck

Removed test consoles, appstore should now be working on IOS=>6

parent 5546ec77
......@@ -3004,16 +3004,10 @@
"_attachment": parcel.attachment
})
.then(function (response) {
console.log("THIS IS The response")
console.log(response)
console.log(response.data)
return jIO.util.readBlobAsText(response.data);
})
.then(
function (answer) {
console.log("THIS is the answer")
console.log(answer)
console.log(answer.target)
return {
"response": JSON.parse(answer.target.result),
"baggage": parcel.baggage
......@@ -3028,8 +3022,6 @@
"baggage": parcel.baggage
})
.then(function (reply) {
console.log("1")
console.log(reply)
return {
"response": util.parseIfNeeded(reply.response),
"baggage": reply.baggage
......@@ -3051,17 +3043,12 @@
console.log("GETTING FROM DISK")
var response,
put = function (e) {
console.log("Put")
console.log(e.target.responseText);
response = util.parseIfNeeded(e.target.responseText);
return parcel.store.put({
"_id": parcel.file
});
},
putAttachment = function () {
console.log("putting attachment into response");
console.log(response)
console.log(typeof response)
return parcel.store.putAttachment({
"_id": parcel.file,
"_attachment": parcel.attachment,
......@@ -3079,8 +3066,6 @@
.then(putAttachment)
.then(function () {
// stored in JIO, continue
console.log("DONE storing in JIO")
console.log(response)
return {
"response": response,
"baggage": parcel.baggage
......@@ -3748,8 +3733,6 @@
init.fetchPageLayouts("settings", page.id)
.then(function (reply) {
console.log("2")
console.log(reply)
//init.setPageTitle(page, util.parseIfNeeded(reply.response[0]));
if (!page.querySelectorAll("div.ui-content")[0]
.getAttribute("data-bound")) {
......@@ -3909,8 +3892,6 @@
}
init.fetchPageLayouts("settings", config.layout_identifier)
.then(function (reply) {
console.log("3")
console.log(reply)
return init.setPageElements(
config,
reply,
......@@ -3944,8 +3925,6 @@
* @return {object} response object/promise
*/
init.parseGadgetConfiguration = function (reply) {
console.log("4")
console.log(reply)
var parsed, baggage = reply.baggage;
parsed = util.parseIfNeeded(reply.response);
......@@ -3974,8 +3953,6 @@
*/
// TODO: remove when not needed anymore
init.testStorageForData = function (reply) {
console.log("6")
console.log(reply)
var baggage = reply.baggage;
if (reply.response) {
......@@ -4001,8 +3978,6 @@
*/
// TODO: remove when not needed anymore
init.retrieveSampleData = function (reply) {
console.log("7")
console.log(reply)
var baggage = reply.baggage;
if (reply.response) {
......@@ -4026,8 +4001,6 @@
*/
// TODO: remove when not needed anymore
init.storeSampleDataInStorage = function (reply) {
console.log("9")
console.log(reply)
var baggage = reply.baggage;
if (reply.response) {
......@@ -4050,8 +4023,6 @@
* @return {object} response object/promise
*/
init.fetchDataTotal = function (reply) {
console.log("10")
console.log(reply)
var baggage = reply.baggage;
if (baggage.create === false) {
......@@ -4085,8 +4056,6 @@
* @return {object} response object/promise
*/
init.fetchDataQuery = function (reply) {
console.log("11")
console.log(reply)
var parsed, baggage = reply.baggage;
// single item query
......@@ -4129,8 +4098,6 @@
* @return {object} response object/promise
*/
init.generateGadgetContent = function (reply) {
console.log("13")
console.log(reply)
var baggage = reply.baggage, selector, element;
// append gadget to wrapping div
......@@ -4388,8 +4355,6 @@
* @return {object} promise object
*/
init.setupStorages = function (reply) {
console.log("15")
console.log(reply)
var i,
store,
promises = [],
......@@ -4428,8 +4393,6 @@
*/
// TODO: run this through the main gadget handler, only difference is scope
init.setupGlobalElements = function (reply) {
console.log("16")
console.log(reply)
var i,
element,
content,
......
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