This file contains 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 gulp = require('gulp'); | |
var notify = require('gulp-notify'); | |
var minifyCSS = require('gulp-minify-css'); | |
var uglify = require('gulp-uglify'); | |
var livereload = require('gulp-livereload'); | |
var concat = require('gulp-concat'); | |
//Main App | |
var cssDir = 'app/assets/css'; |
This file contains 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.fehler.events({ | |
'click .show-tool': function () { | |
if (Fehler.viewCache) { | |
Blaze.remove(Fehler.viewCache); | |
Fehler.viewCache = false; | |
} | |
// Fehler.viewCache = Blaze.render(Template[this.templateName], document.body); | |
Fehler.viewCache = Fehler.renderView(this.templateName,{title: 'HI'}); |
This file contains 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 gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
concat = require('gulp-concat'), | |
uglify = require('gulp-uglify'), | |
notify = require('gulp-notify'), | |
plumber = require('gulp-plumber'), | |
sourcemaps = require('gulp-sourcemaps'), | |
autoprefixer = require('gulp-autoprefixer'), | |
browserSync = require('browser-sync').create(), | |
rename = require('gulp-rename'), |
This file contains 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 webpack = require('webpack'); | |
var path = require('path'); | |
var WebpackNotifierPlugin = require('webpack-notifier') | |
//console.log('Node Modules: '+ JSON.stringify(nodeModules)); | |
module.exports = { | |
debug: true, | |
devtool: 'source-map', |
This file contains 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", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], | |
"author": "", |
This file contains 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
#Persistent | |
SetTimer, WinChange, 2000 | |
Switched := -1 | |
return | |
WinChange: | |
WinGetTitle, title, A | |
GetMonitor(hwnd := 0) { | |
; If no hwnd is provided, use the Active Window | |
This file contains 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 fs = require('fs') | |
var path = require('path') | |
var jsonfile = require('jsonfile') | |
var cheerio = require('cheerio') | |
// Settings | |
var cssFilePath = path.resolve(__dirname, './preview.html') | |
var outputFile = path.resolve(__dirname, './config.json') | |
This file contains 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 Container = { | |
functional: true, | |
render (h, { data, children }) { | |
var containerClass = 'container' | |
if (data.attrs && Object.keys(data.attrs).toString() === 'fluid') { | |
containerClass = `${containerClass}-fluid` | |
} | |
return h( | |
'div', |
This file contains 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 octArrowSmallDown = { | |
functional: true, | |
name: octArrowSmallDown, | |
props: { | |
height: { | |
type: [String, Number], | |
default: 24 | |
}, | |
width: { |
This file contains 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
function template (data) { | |
return ` | |
const ${data.componentName} = { | |
functional: true, | |
name: '${data.componentName}', | |
props: { | |
height: { | |
type: [String, Number], | |
default: 24 | |
}, |
OlderNewer