@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
1 lines • 1.01 kB
JavaScript
module.exports=function(n){function t(e){if(o[e])return o[e].exports;var i=o[e]={exports:{},id:e,loaded:!1};return n[e].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var o={};return t.m=n,t.c=o,t.p="",t(0)}({0:function(n,t,o){n.exports=o(969)},3:function(n,t){n.exports=function(){throw Error("define cannot be used indirect")}},946:function(n,t){n.exports=require("../command")},969:function(n,t,o){var e,i,r;!function(d,define){i=[o(946)],e=d,r="function"==typeof e?e.apply(t,i):e,!(void 0!==r&&(n.exports=r))}(function(){!function(n){var t=window.kendo,o=t.ui.editor,e=o.Command,i=o.EditorUtils,r=i.registerTool,d=o.Tool,u=o.ToolTemplate,p=n.extend,c=e.extend({init:function(n){e.fn.init.call(this,n),this.managesUndoRedo=!0},exec:function(){var n=this.editor;t.support.browser.msie?n.document.execCommand("print",!1,null):n.window.print&&n.window.print()}});p(o,{PrintCommand:c}),r("print",new d({command:c,template:new u({template:i.buttonTemplate,title:"Print"})}))}(window.kendo.jQuery)},o(3))}});