var div = _e('div');
var btn = _e('input', {
type: 'button',
value: 'Click Me',
on: {
click: function(e) { alert('Hello'); }
}
});
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
Show hidden characters
{ | |
"presets": [ "es2015-rollup" ], | |
"plugins": ["transform-class-properties"] | |
} |
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
git fetch | |
git checkout -b tmp-branch | |
git branch -D master | |
git branch -D release | |
git checkout -b master origin/master | |
git checkout -b release origin/release | |
git checkout release | |
git branch -D tmp-branch |
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
#!/bin/bash | |
# This is a comment |
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
# Git Destroy | |
# Deletes a branch locally and on the origin | |
# git destroy <branch> | |
git config --global alias.destroy '!g() { git branch -D $1 && git push origin $1 --delete; }; g' | |
# Git Circle CI | |
# Opens the projects builds in Circle | |
# git cci | |
git config --global alias.cci '!g() { branch=`git rev-parse --abbrev-ref HEAD`; top_level=`git rev-parse --show-toplevel`; repo=`basename $top_level`; url="https://circleci.com/gh/MakerStudios/$repo/tree/$branch"; open $url; }; g' |
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
.margin { margin: 10px; } | |
.no-margin { margin: 0 !important; } | |
.m-top { margin-top: 5px !important; } | |
.m-top-more { margin-top: 10px !important; } | |
.m-right { margin-right: 5px !important; } | |
.m-right-more { margin-right: 10px !important; } | |
.m-bottom { margin-bottom: 5px !important; } | |
.m-bottom-more { margin-bottom: 10px !important; } | |
.m-left { margin-left: 5px !important; } | |
.m-left-more { margin-left: 10px !important; } |
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
(function(){ | |
var bindingKey = 'else', | |
stack = [], | |
_if = ko.bindingHandlers.if, | |
_init = _if.init | |
_update = _if.update; | |
ko.bindingHandlers[bindingKey] = | |
{ |
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
git config --global alias.rdiff '!g() { origin=$(git config --get remote.origin.url | sed "s/git@/https:\/\//g" | sed "s/.com:/.com\//g"); url=${origin/.git/\/commit\/$(git rev-parse HEAD)}; open $url; }; g' |
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
(function(){ | |
var bindingKey = 'else', | |
stack = [], | |
_if = ko.bindingHandlers.if, | |
_init = _if.init | |
_update = _if.update; | |
ko.bindingHandlers[bindingKey] = | |
{ |