- Finished more stuff and updated readme

This commit is contained in:
Alexis
2020-06-14 15:36:32 +02:00
parent 6bc1f21fae
commit 3a375dae60
3 changed files with 4 additions and 6 deletions

View File

@@ -2,8 +2,9 @@
A dictionnary of arcane spells from a homebrew tabletop RPG.
## Built With
* [Vue CLI](http://www.dropwizard.io/1.0.2/docs/) - Web Framework
* [Vue CLI](http://www.dropwizard.io/1.0.2/docs/) - Web Framework for the client
* [NPM](https://maven.apache.org/) - Package and Dependency Management
## Authors
* **Alexis** - *Designing, Development & Conception* - [Github](https://github.com/AlexisNP)
* **Alexis Pelé** - *Designing, Development & Conception* - [Github](https://github.com/AlexisNP)
* **Mathieu Hance** - *Designing, Integration*

View File

@@ -58,10 +58,9 @@ export default {
this.adding_spell = false
},
addSpell(e) {
console.log(e)
Spells.getSpell(e.id)
.then(v => {
this.spells.push(v.data)
this.spells.unshift(v.data)
})
.then(() => {
this.adding_spell = false

View File

@@ -27,8 +27,6 @@ Vue.use(VueRouter)
Vue.use(VueMasonryPlugin)
Vue.use(BootstrapVue)
var filter = function(text, length, clamp){
clamp = clamp || '...';
var node = document.createElement('div');