This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tinymce.init({ | |
selector: 'textarea', | |
plugins: [ | |
'advlist autolink lists link image charmap print preview hr anchor pagebreak', | |
'searchreplace wordcount visualblocks visualchars code fullscreen', | |
'insertdatetime media nonbreaking save table contextmenu directionality', | |
'emoticons template paste textcolor colorpicker textpattern imagetools' | |
], | |
toolbar1: 'bold italic | fontselect | fontsizeselect | print preview media | forecolor backcolor emoticons', | |
toolbar2: 'insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
template: ` | |
<div :id="modal.id" class="modal"> | |
<div class="modal-content"> | |
<slot name="content"></slot> | |
</div> | |
<div class="modal-footer"> | |
<slot name="footer"></slot> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace CodeEmailMKT\Application\Middleware; | |
use Locale; | |
use Psr\Http\Message\ServerRequestInterface; | |
use Zend\Expressive\Helper\UrlHelper; | |
class SetLocaleMiddleware | |
{ | |
private $helper; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use ZipArchive; | |
class ExtendedZip extends ZipArchive | |
{ | |
// Member function to add a whole file system subtree to the archive | |
public function addTree($dirname, $localname = '') | |
{ | |
if ($localname) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"tymon/jwt-auth": "dev-develop#9f759fe9e3112e1de50920c05537d752780cf966" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//// | |
providers:[ | |
{provide: XHRBackend, useClass: DefaultXHRBackend}, | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-toolbar color="primary"> | |
<ion-buttons navPop left> | |
<button ion-button icon-only> | |
<ion-icon name="close-circle"></ion-icon> | |
</button> | |
</ion-buttons> | |
<ion-title>PagSeguro</ion-title> | |
</ion-toolbar> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Tenant; | |
class TenantManager | |
{ | |
private $tenant; //instancia de account | |
//substituir o routeParama |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Cart{ | |
colecao = [ | |
{id: 1, name: 'client1'}, | |
{id: 2, name: 'client1'}, | |
{id: 3, name: 'client1'}, | |
]; | |
add(product){ | |
let subcolecao = this.colecao.filter((item) => item.id === product.id); |