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
<script> | |
ko.bindingHandlers.collapseAccordion = { | |
init: function(element, valueAccessor, allBindingsAccessor, viewModel) { | |
if($(element).hasClass("collapse")){ | |
$(element).removeClass("collapse").attr().addClass("in"); | |
} else { | |
$(element).removeClass("in").addClass("collapse").attr("style","height:0px"); | |
} | |
} | |
} |
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
// if localStorage is present, use that | |
if (('localStorage' in window) && window.localStorage !== null) { | |
// easy object property API | |
localStorage.wishlist = '["Unicorn","Narwhal","Deathbear"]'; | |
} else { | |
// without sessionStorage we'll have to use a far-future cookie | |
// with document.cookie's awkward API :( |
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 rm_a = /a*/.match(s); | |
*/ |
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
info: Welcome to Nodejitsu tleite | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing your application dependencies in server.js | |
info: Creating snapshot 0.0.1-3 | |
info: Updating app LaunchTicker | |
info: Activating snapshot 0.0.1-3 for LaunchTicker | |
info: Starting app LaunchTicker | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error |
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
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: There was an error while attempting to deploy your application. | |
error: | |
error: NPM Install failed | |
error: NPM failed to install dependencies | |
error: | |
error: This type of error is usually a user error. | |
error: Error output from Haibu: | |
error: |