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 { series, src, dest, watch } = require('gulp'); | |
const babel = require('gulp-babel'); | |
const rename = require('gulp-rename'); | |
const uglify = require('gulp-uglify'); | |
const concat = require('gulp-concat'); | |
const sass = require('gulp-sass'); | |
const cleanCSS = require('gulp-clean-css'); | |
function scripts() { | |
return src([ |
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": "app_name_here", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "ISC", |
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
import {_} from 'underscore' | |
export default { | |
state: { | |
}, | |
createGsApiUrl: function(gs_key, sheet_id) { | |
var gs_url = 'https://spreadsheets.google.com/feeds/list/'+gs_key+'/'+sheet_id+'/public/values?alt=json'; |
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
import Vue from 'vue' | |
import axios from 'axios' | |
export default { | |
state: { | |
paths: { | |
dev: 'http://localhost/bitbucket/', | |
prod: '' | |
}, | |
endpoints: { |
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> | |
<!-- | |
Vue.Draggable: https://github.com/SortableJS/Vue.Draggable | |
--> | |
<div class="draggable_two_list_container"> | |
<div class="row"> | |
<div class="col-6"> | |
<h5 |
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
/* | |
Initial concept from: https://seesparkbox.com/foundry/how_to_code_an_SVG_pie_chart | |
Vue.js component by Darius Babcock | |
*/ | |
<template> | |
<div class="pie_chart_svg_container"> | |
<svg | |
:height="diameter" | |
:width="diameter" |
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
var imgLoad = $("<img />"); | |
imgLoad.attr("src", ImageGallery.ImagesList[index] + "?" + new Date().getTime()); | |
imgLoad.unbind("load"); | |
imgLoad.bind("load", function () { | |
// Get image sizes | |
alert(this.width); | |
}); |
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
$("#SomeElement").css("cssText", "height: 650px !important;"); |