Permalink
Browse files

Refs #11184. Remove extraneous debug messages.

  • Loading branch information...
1 parent ad35124 commit bdd90c7cb19344b178734360fc10a00e8ef65bfa Douglas Hays committed Aug 16, 2010
Showing with 6 additions and 6 deletions.
  1. +4 −4 calc/FuncGen.js
  2. +2 −2 calc/Standard.js
View
@@ -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
@@ -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){
@@ -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){
View
@@ -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)}
});
}
},

0 comments on commit bdd90c7

Please sign in to comment.