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
public class ShoppingCart | |
{ | |
//... | |
public static ShoppingCart GetCart(HttpContextBase context) | |
{ | |
var cart = new ShoppingCart(); | |
cart.ShoppingCartId = cart.GetCartId(context); | |
return cart; | |
} | |
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
public static class Configuration | |
{ | |
public static ConfigurationModel Current { get; set; } | |
} | |
public class ConfigurationModel | |
{ | |
public string Currency { get; set; } | |
public double TaxRate { get; set; } |
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
var glimpseClientTimelinePlugin = (function ($, glimpse) { | |
var //Support | |
wireListener = function () { | |
glimpse.pubsub.subscribe('action.timeline.data.updated', function(topic, payload) { dataUpdated(payload); }); | |
}, | |
dataUpdated = function(data) { | |
alert('test'); | |
}, | |
//Main |
NewerOlder