Skip to content

Commit

Permalink
Refs #11184. Remove extraneous debug messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Hays committed Aug 16, 2010
1 parent ad35124 commit bdd90c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions calc/FuncGen.js
Expand Up @@ -40,7 +40,7 @@ dojo.declare(
},
onSaved: function(){
// this on save needs to be overriden if you want Executor parsing support
console.log("Save was pressed");
//console.log("Save was pressed");
},
clear: function(){
// summary
Expand All @@ -60,7 +60,7 @@ dojo.declare(
onReset: function(){
// summary
// (Reset button on click event) reset the arguments and body to their previously saved state if the user says yes
console.log("Reset was pressed");
//console.log("Reset was pressed");
if(this.combo.get("value") in this.functions){
var answer = confirm("Do you want to reset this function?");
if(answer){
Expand All @@ -74,11 +74,11 @@ dojo.declare(
// delete an item in the writestore
if (this.writeStore.isItem(item)){
// delete it
console.log("Found item "+item);
//console.log("Found item "+item);
this.writeStore.deleteItem(item);
this.writeStore.save();
}else{
console.log("Unable to locate the item");
//console.log("Unable to locate the item");
}
},
deleteFunction: function(name){
Expand Down
4 changes: 2 additions & 2 deletions calc/Standard.js
Expand Up @@ -62,12 +62,12 @@ dojo.declare(
if(isReadOnly){
store.fetch({
onComplete: dojo.hitch(this, saveReadOnlyFunctions),
onError: function(text){console.log(text)}
onError: function(text){console.error(text)}
});
}else{
store.fetch({
onComplete: dojo.hitch(this, saveFunctions),
onError: function(text){console.log(text)}
onError: function(text){console.error(text)}
});
}
},
Expand Down

0 comments on commit bdd90c7

Please sign in to comment.