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
<template> | |
<div class="pv-card-header"> | |
<md-whiteframe class="row pv-row"> | |
<div class="col-xs-2 start-xs"> | |
<md-avatar> | |
<img | |
v-if="!idmedia" | |
src="img/icon.png" | |
alt="icon" | |
> |
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
{ | |
"workbench.iconTheme": "vscode-icons", | |
"workbench.colorTheme": "Hail", | |
"files.autoSave": "onFocusChange", | |
"editor.tabSize": 2, | |
"vetur.format.html.wrap_line_length": 120, | |
"vetur.format.html.wrap_attributes": "force-aligned", | |
"editor.wordWrapColumn": 120, | |
"git.confirmSync": false, | |
"git.enableSmartCommit": true |
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
{ | |
"cordova-plugin-app-version": { | |
"source": { | |
"type": "registry", | |
"id": "cordova-plugin-app-version@~0.1.9" | |
}, | |
"is_top_level": true, | |
"variables": {} | |
}, | |
"cordova-plugin-compat": { |
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
require("./main.css") | |
const Vue = require("vue") | |
const VueRouter = require("vue-router") | |
const VueMaterial = require("vue-material") | |
Vue.use(VueRouter) | |
Vue.use(VueMaterial) |
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
<template> | |
<div> | |
<router-view></router-view> | |
</div> | |
</template> | |
<script> | |
const VueRouter = require("vue-router"); | |
const router = new VueRouter({ | |
routes: [ | |
{ path: "/", redirect: "/s0001-lista-ofertas" }, |
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
const PIXI = require("pixi.js"); | |
class Boneco { | |
constructor({ app, stage, atlas, position }) { | |
const loader = new PIXI.loaders.Loader(); | |
const key = "atlas" + new Date().getTime() | |
loader.add(key, atlas).load((loader, resources) => { | |
const data = resources[key].data; |
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
{ | |
"name": "sombriks-hq", | |
"version": "1.0.0", | |
"description": "foo bar hurr duhh", | |
"main": "build.js", | |
"scripts": { | |
"clean": "make clean", | |
"release": "make release", | |
"dev": "make dev" | |
}, |
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
const moment = require("moment"); | |
module.exports = _ => ({ | |
formatDisplay(d) { | |
// return d; | |
console.log(d) | |
return moment(d).format("DD [de] MMMM") | |
}, | |
formatMonth(d) { |
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
// cross-env NODE_ENV=testing knex migrate:latest ; cross-env NODE_ENV=testing mocha --timeout=30000 --exit ; cross-env NODE_ENV=testing knex migrate:rollback | |
const chai = require('chai') | |
const chaiHttp = require('chai-http') | |
const server = require('../src/main') | |
chai.should() | |
chai.use(chaiHttp) | |
describe("Beers test suite", _ => { |
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
// | |
// commonsJS style | |
// | |
require("./main.css") | |
const Vue = require("vue") | |
const VueRouter = require("vue-router") | |
const VueMaterial = require("vue-material") | |
Vue.use(VueRouter) |