/** 
 * Kendo UI v2016.3.1118 (http://www.telerik.com/kendo-ui)                                                                                                                                              
 * Copyright 2016 Telerik AD. All rights reserved.                                                                                                                                                      
 *                                                                                                                                                                                                      
 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       

*/
!function(t,define){define("kendo.data.signalr.min",["kendo.data.min"],t)}(function(){return function(t){var o=kendo.data.RemoteTransport.extend({init:function(t){var o,e=t&&t.signalr?t.signalr:{},n=e.promise;if(!n)throw Error('The "promise" option must be set.');if("function"!=typeof n.done||"function"!=typeof n.fail)throw Error('The "promise" option must be a Promise.');if(this.promise=n,o=e.hub,!o)throw Error('The "hub" option must be set.');if("function"!=typeof o.on||"function"!=typeof o.invoke)throw Error('The "hub" option is not a valid SignalR hub proxy.');this.hub=o,kendo.data.RemoteTransport.fn.init.call(this,t)},push:function(t){var o=this.options.signalr.client||{};o.create&&this.hub.on(o.create,t.pushCreate),o.update&&this.hub.on(o.update,t.pushUpdate),o.destroy&&this.hub.on(o.destroy,t.pushDestroy)},_crud:function(o,e){var n,i,r=this.hub,s=this.options.signalr.server;if(!s||!s[e])throw Error(kendo.format('The "server.{0}" option must be set.',e));n=[s[e]],i=this.parameterMap(o.data,e),t.isEmptyObject(i)||n.push(i),this.promise.done(function(){r.invoke.apply(r,n).done(o.success).fail(o.error)})},read:function(t){this._crud(t,"read")},create:function(t){this._crud(t,"create")},update:function(t){this._crud(t,"update")},destroy:function(t){this._crud(t,"destroy")}});t.extend(!0,kendo.data,{transports:{signalr:o}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,o,e){(e||o)()});
//# sourceMappingURL=kendo.data.signalr.min.js.map
