Henrique Ferreira

Results 5 comments of Henrique Ferreira

I use the following tasks in my ionic project's package.json file (cordova 7.0). They copy the folders when running or building the project. I'm using [copyfiles](https://www.npmjs.com/package/copyfiles) to copy the folder....

Replacing ``` $this->perms()->attach($permission); ``` with ``` if(!$this->perms->contains('id',$permission)) $this->perms()->attach($permission); ``` in EntrustRoleTrait fixed it for me. You can just add this to your Role class. ``` public function attachPermission($permission) { if...

Replace ``` javascript var p = plot.getPlaceholder(); ``` with ``` javascript var p = (options.legend.container == null)?plot.getPlaceholder():$(options.legend.container); ```