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
# This script requires fish-nuggets, available at: | |
# http://github.com/nirvdrum/fish-nuggets | |
function svnc --description "Commit from git master to SVN." | |
if not is-git | |
echo "svnc can only be run from a git repository." | |
return | |
end | |
set -l branch (env git symbolic-ref -q HEAD) |
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
ko.nativeTemplateEngine = function () { | |
function nodeListToArray(nodeList) { | |
var array = []; | |
for (var i = 0; i < nodeList.length; ++i) | |
array[i] = nodeList[i]; | |
return array; | |
} |