Removed a bunch of console noise
This commit is contained in:
@@ -194,12 +194,9 @@ const damageProperty = new ValidatedMethod({
|
||||
}
|
||||
if (operation === 'set'){
|
||||
let currentValue = currentProperty.value;
|
||||
console.log('currentValue is ', currentValue)
|
||||
console.log('target value is ', value)
|
||||
// Set represents what we want the value to be after damage
|
||||
// So we need the actual damage to get to that value
|
||||
let damage = currentValue - value;
|
||||
console.log('required damage is ', damage)
|
||||
// Damage can't exceed total value
|
||||
if (damage > currentValue) damage = currentValue;
|
||||
// Damage must be positive
|
||||
|
||||
@@ -90,7 +90,6 @@ const removeLibrary = new ValidatedMethod({
|
||||
}).validator(),
|
||||
run({_id}){
|
||||
let library = Libraries.findOne(_id);
|
||||
console.log({library, _id});
|
||||
assertOwnership(library, this.userId);
|
||||
Libraries.remove(_id);
|
||||
this.unblock();
|
||||
|
||||
@@ -53,9 +53,6 @@
|
||||
return JSON.stringify(this.children, null, 2);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
log: console.log,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
@@ -78,9 +78,6 @@ export default {
|
||||
},
|
||||
debounceTime: Number,
|
||||
},
|
||||
methods: {
|
||||
log: console.log,
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
@@ -104,13 +104,11 @@ export default {
|
||||
getPropertyName,
|
||||
change({path, value, ack}){
|
||||
updateProperty.call({_id: this._id, path, value}, (error, result) =>{
|
||||
console.log({error, result});
|
||||
ack && ack(error && error.reason || error);
|
||||
});
|
||||
},
|
||||
push({path, value, ack}){
|
||||
pushToProperty.call({_id: this._id, path, value}, (error, result) =>{
|
||||
console.log({error, result});
|
||||
ack && ack(error && error.reason || error);
|
||||
});
|
||||
},
|
||||
@@ -118,7 +116,6 @@ export default {
|
||||
let itemId = get(this.model, path)._id;
|
||||
path.pop();
|
||||
pullFromProperty.call({_id: this._id, path, itemId}, (error, result) =>{
|
||||
console.log({error, result});
|
||||
ack && ack(error && error.reason || error);
|
||||
});
|
||||
},
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
}
|
||||
let source = this.getTopElementByDataId(elementId);
|
||||
if (!source){
|
||||
console.log(`Can't find source for ${elementId}`);
|
||||
console.warn(`Can't find source for ${elementId}`);
|
||||
done();
|
||||
return;
|
||||
}
|
||||
@@ -165,7 +165,6 @@
|
||||
}, MOCK_DURATION);
|
||||
},
|
||||
noScroll(e){
|
||||
console.log(e);
|
||||
e.preventDefault();
|
||||
}
|
||||
},
|
||||
|
||||
@@ -123,11 +123,6 @@ export default {
|
||||
});
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
expandedLibrary(value){
|
||||
console.log(value)
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -63,13 +63,11 @@
|
||||
getPropertyName,
|
||||
change({path, value, ack}){
|
||||
updateLibraryNode.call({_id: this._id, path, value}, (error, result) =>{
|
||||
console.log({error, result});
|
||||
ack && ack(error && error.reason || error);
|
||||
});
|
||||
},
|
||||
push({path, value, ack}){
|
||||
pushToLibraryNode.call({_id: this._id, path, value}, (error, result) =>{
|
||||
console.log({error, result});
|
||||
ack && ack(error && error.reason || error);
|
||||
});
|
||||
},
|
||||
@@ -77,7 +75,6 @@
|
||||
let itemId = get(this.model, path)._id;
|
||||
path.pop();
|
||||
pullFromLibraryNode.call({_id: this._id, path, itemId}, (error, result) =>{
|
||||
console.log({error, result});
|
||||
ack && ack(error && error.reason || error);
|
||||
});
|
||||
},
|
||||
|
||||
@@ -120,7 +120,6 @@
|
||||
this.editValue = this.value;
|
||||
this.$nextTick(function() {
|
||||
this.$refs.editInput.focus();
|
||||
console.log()
|
||||
});
|
||||
},
|
||||
cancelEdit() {
|
||||
|
||||
@@ -35,7 +35,7 @@ const schemaFormMixin = {
|
||||
if (this.valid) this.valid = false;
|
||||
errors[error.name] = this.schema.messageForError(error);
|
||||
});
|
||||
console.log(errors);
|
||||
console.error(errors);
|
||||
return errors;
|
||||
},
|
||||
},
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
v-for="skill in skills"
|
||||
:key="skill.name"
|
||||
v-bind="skill"
|
||||
@click="click"
|
||||
/>
|
||||
</v-list>
|
||||
</template>
|
||||
@@ -44,11 +43,6 @@
|
||||
components: {
|
||||
SkillListTile,
|
||||
},
|
||||
methods: {
|
||||
click(){
|
||||
console.log(...arguments);
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user