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.Collections.Generic; | |
using System.Diagnostics; | |
using System.Web.Http; | |
using System.Web.Http.Controllers; | |
using System.Web.Http.Filters; | |
using Castle.Windsor; | |
using Algorythmic.Web.API.Filters; | |
namespace Algorythmic.Web.API.Windsor.Filters | |
{ |
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 React = require('react'); | |
var ReactAddons = require('react/addons'); | |
var DiscountTable = require('./discount/Discount.jsx'); | |
var ShippingTable = require('./shipping/Shipping.jsx'); | |
var ProvinceTable = require('./province/Province.jsx'); | |
(function() { | |
var discounts = document.getElementById('discount-table'); | |
if (discounts !== null) { | |
React.render(<DiscountTable initialData={ {data : [], add: false, addRow: { Id: 0, Amount: 0, Quantity: 0 } } } |