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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title></title> | |
<script type="text/javascript" src="js/jquery-1.5.2.js"></script> | |
<script type="text/javascript"> | |
$(function(){ |
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
using System; | |
using System.Collections.Generic; | |
using System.Dynamic; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
namespace ResetIdeas | |
{ | |
class Program |
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
using System; | |
using System.Collections.Concurrent; | |
using System.IO; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace FileCombiner | |
{ | |
class Program |
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 tmplEagerLoad = [ "customer", "user", "search", "about", "orders" ]; | |
// This will cause the templates to be requested and cached locally | |
// in script blocks for KO to pick up like any normal embedded template | |
tmpl.EagerLoad.forEach(function(template) { | |
ko.externaljQueryTemplateEngine.getTemplateNode(template); | |
}); |
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
/* | |
TrafficCop | |
Author: Jim Cowart | |
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license) | |
Version 0.1.0 | |
*/ | |
(function($, undefined) { | |
var inProgress = {}; |
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 cartModule = (function(postal, $){ | |
var cartId = 0, | |
cartTemplate = "#cart-tmpl", | |
cartItemTemplate = "#cart-item-tmpl", | |
cartChildrenSelector = "#cart-list", | |
wireUpCart = function(cart) { | |
postal.subscribe("cart", "init", _.bind(cart.init,cart)); | |
postal.subscribe("cart", "item.add", function(item) { | |
var member = cart.id + "-" + item.id; |
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 slice = [].slice; | |
if (!_.deepExtend) { | |
var behavior = { | |
"*": function(obj, sourcePropKey, sourcePropVal) { | |
obj[sourcePropKey] = sourcePropVal; | |
}, | |
"object": function(obj, sourcePropKey, sourcePropVal) { | |
obj[sourcePropKey] = deepExtend(obj[sourcePropKey] || {}, sourcePropVal); | |
}, | |
"array": function(obj, sourcePropKey, sourcePropVal) { |
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
/* | |
postal.js | |
Author: Jim Cowart | |
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license) | |
Version 0.6.0 | |
*/ | |
(function(root, doc, factory) { | |
if (typeof define === "function" && define.amd) { | |
// AMD. Register as an anonymous module. |
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 ConnectivityFsm = ( function( $, machina, amplify ) { | |
return function( heartbeatDef ) { | |
var settings = $.extend( true, { | |
type: "GET", | |
dataType: "json", | |
timeout: 5000 | |
}, heartbeatDef ); |
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
/*! | |
* AmplifyJS 1.0.0 - Core, Store, Request | |
* | |
* Copyright 2011 appendTo LLC. (http://appendto.com/team) | |
* Dual licensed under the MIT or GPL licenses. | |
* http://appendto.com/open-source-licenses | |
* | |
* http://amplifyjs.com | |
*/ | |
(function(root, doc, factory) { |
OlderNewer