From 7ea64a821e8464c1286a2adbe09b9a517be59582 Mon Sep 17 00:00:00 2001 From: Aiko Mastboom Date: Fri, 10 May 2013 02:52:30 +0200 Subject: [PATCH] added knockout-sortable. --- installit | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/installit b/installit index ee5fae1..be9e6a2 100755 --- a/installit +++ b/installit @@ -69,6 +69,14 @@ fi if [ ! -f ./knockout.validation.min.js ]; then ${CURL} http://cdnjs.cloudflare.com/ajax/libs/knockout-validation/1.0.2/knockout.validation.min.js +fi + +if [ ! -f ./knockout-sortable.js ]; then + ${CURL} https://raw.github.com/rniemeyer/knockout-sortable/master/build/knockout-sortable.js +fi + +if [ ! -f ./knockout-sortable.min.js ]; then + ${CURL} https://raw.github.com/rniemeyer/knockout-sortable/master/build/knockout-sortable.min.js fi cd ${current_dir} @@ -143,10 +151,10 @@ if [ ! -f ./less-1.3.3.min.js ]; then fi cd ${current_dir} -if [ ! -d ${HOME}/.prototyper-cache/lib ];then +if [ ! -d ${HOME}/.prototyper-cache ];then mkdir -p ${HOME}/.prototyper-cache - cp -r ./public/lib ${HOME}/.prototyper-cache fi +cp -r ./public/lib ${HOME}/.prototyper-cache if [[ "${arch}" == 'armv6l' && ! -d ./node_modules/bson/build ]]; then echo "need to rebuild bson: 'npm rebuild bson' before running"