moel@348: // Knockout Mapping plugin v2.1.2 moel@348: // (c) 2012 Steven Sanderson, Roy Jacobs - http://knockoutjs.com/ moel@348: // License: MIT (http://www.opensource.org/licenses/mit-license.php) moel@348: moel@348: (function (factory) { moel@348: // Module systems magic dance. moel@348: moel@348: if (typeof require === "function" && typeof exports === "object" && typeof module === "object") { moel@348: // CommonJS or Node: hard-coded dependency on "knockout" moel@348: factory(require("knockout"), exports); moel@348: } else if (typeof define === "function" && define["amd"]) { moel@348: // AMD anonymous module with hard-coded dependency on "knockout" moel@348: define(["knockout", "exports"], factory); moel@348: } else { moel@348: //