Commit a4b731e1 authored by techird's avatar techird

fix

parent b72e1575
...@@ -36,8 +36,6 @@ var KityMinder = ...@@ -36,8 +36,6 @@ var KityMinder =
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
var utils = Utils = KityMinder.Utils = { var utils = Utils = KityMinder.Utils = {
extend: kity.Utils.extend.bind( kity.Utils ), extend: kity.Utils.extend.bind( kity.Utils ),
...@@ -235,8 +233,6 @@ Utils.each( [ 'String', 'Function', 'Array', 'Number', 'RegExp', 'Object' ], fun ...@@ -235,8 +233,6 @@ Utils.each( [ 'String', 'Function', 'Array', 'Number', 'RegExp', 'Object' ], fun
} }
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
var Command = kity.createClass( "Command", { var Command = kity.createClass( "Command", {
constructor: function () { constructor: function () {
this._isContentChange = true; this._isContentChange = true;
...@@ -275,8 +271,6 @@ var Command = kity.createClass( "Command", { ...@@ -275,8 +271,6 @@ var Command = kity.createClass( "Command", {
} }
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", { var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", {
constructor: function ( options ) { constructor: function ( options ) {
this.parent = null; this.parent = null;
...@@ -577,8 +571,6 @@ var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", { ...@@ -577,8 +571,6 @@ var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", {
} }
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//模块注册&暴露模块接口 //模块注册&暴露模块接口
( function () { ( function () {
var _modules; var _modules;
...@@ -594,8 +586,6 @@ Warning: Cannot modify header information - headers already sent by (output star ...@@ -594,8 +586,6 @@ Warning: Cannot modify header information - headers already sent by (output star
}; };
} )(); } )();
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
var MinderEvent = kity.createClass( 'MindEvent', { var MinderEvent = kity.createClass( 'MindEvent', {
constructor: function ( type, params, canstop ) { constructor: function ( type, params, canstop ) {
params = params || {}; params = params || {};
...@@ -642,8 +632,6 @@ var MinderEvent = kity.createClass( 'MindEvent', { ...@@ -642,8 +632,6 @@ var MinderEvent = kity.createClass( 'MindEvent', {
} }
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
/* @require <kityminder.js> /* @require <kityminder.js>
* @require <module.js> * @require <module.js>
* @require <event.js> * @require <event.js>
...@@ -761,8 +749,6 @@ var Minder = KityMinder.Minder = kity.createClass( "KityMinder", { ...@@ -761,8 +749,6 @@ var Minder = KityMinder.Minder = kity.createClass( "KityMinder", {
* @include <minder.select.js> * @include <minder.select.js>
*/ */
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
Utils.extend( KityMinder, { Utils.extend( KityMinder, {
_protocals: {}, _protocals: {},
registerProtocal: function ( name, protocalDeal ) { registerProtocal: function ( name, protocalDeal ) {
...@@ -877,8 +863,6 @@ kity.extendClass( Minder, { ...@@ -877,8 +863,6 @@ kity.extendClass( Minder, {
} }
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
// 事件机制 // 事件机制
kity.extendClass( Minder, { kity.extendClass( Minder, {
_initEvents: function () { _initEvents: function () {
...@@ -984,8 +968,6 @@ kity.extendClass( Minder, { ...@@ -984,8 +968,6 @@ kity.extendClass( Minder, {
} }
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
// 模块声明周期维护 // 模块声明周期维护
kity.extendClass( Minder, { kity.extendClass( Minder, {
_initModules: function () { _initModules: function () {
...@@ -1069,8 +1051,6 @@ kity.extendClass( Minder, { ...@@ -1069,8 +1051,6 @@ kity.extendClass( Minder, {
} }
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
kity.extendClass( Minder, { kity.extendClass( Minder, {
_getCommand: function ( name ) { _getCommand: function ( name ) {
return this._commands[ name.toLowerCase() ]; return this._commands[ name.toLowerCase() ];
...@@ -1145,8 +1125,6 @@ kity.extendClass( Minder, { ...@@ -1145,8 +1125,6 @@ kity.extendClass( Minder, {
} }
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
kity.extendClass( Minder, { kity.extendClass( Minder, {
getRoot: function () { getRoot: function () {
...@@ -1182,8 +1160,6 @@ kity.extendClass( Minder, { ...@@ -1182,8 +1160,6 @@ kity.extendClass( Minder, {
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
var keymap = KityMinder.keymap = { var keymap = KityMinder.keymap = {
'Backspace' : 8, 'Backspace' : 8,
'Tab' : 9, 'Tab' : 9,
...@@ -1217,8 +1193,6 @@ var keymap = KityMinder.keymap = { ...@@ -1217,8 +1193,6 @@ var keymap = KityMinder.keymap = {
'Cmd':91 'Cmd':91
}; };
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//添加多语言模块 //添加多语言模块
kity.extendClass( Minder, { kity.extendClass( Minder, {
getLang:function(path){ getLang:function(path){
...@@ -1236,16 +1210,12 @@ kity.extendClass( Minder, { ...@@ -1236,16 +1210,12 @@ kity.extendClass( Minder, {
} }
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//这里只放不是由模块产生的默认参数 //这里只放不是由模块产生的默认参数
KM.defaultOptions = { KM.defaultOptions = {
zIndex : 1000, zIndex : 1000,
lang:'zh-cn' lang:'zh-cn'
}; };
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "HistoryModule", function () { KityMinder.registerModule( "HistoryModule", function () {
var km = this; var km = this;
...@@ -1426,8 +1396,6 @@ KityMinder.registerModule( "HistoryModule", function () { ...@@ -1426,8 +1396,6 @@ KityMinder.registerModule( "HistoryModule", function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "IconModule", function () { KityMinder.registerModule( "IconModule", function () {
return { return {
"commands": { "commands": {
...@@ -1440,8 +1408,6 @@ KityMinder.registerModule( "IconModule", function () { ...@@ -1440,8 +1408,6 @@ KityMinder.registerModule( "IconModule", function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "LayoutModule", function () { KityMinder.registerModule( "LayoutModule", function () {
kity.extendClass( Minder, { kity.extendClass( Minder, {
addLayoutStyle: function ( name, style ) { addLayoutStyle: function ( name, style ) {
...@@ -1625,8 +1591,6 @@ KityMinder.registerModule( "LayoutModule", function () { ...@@ -1625,8 +1591,6 @@ KityMinder.registerModule( "LayoutModule", function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "LayoutDefault", function () { KityMinder.registerModule( "LayoutDefault", function () {
var _target = this.getRenderTarget(); var _target = this.getRenderTarget();
...@@ -2246,8 +2210,6 @@ KityMinder.registerModule( "LayoutDefault", function () { ...@@ -2246,8 +2210,6 @@ KityMinder.registerModule( "LayoutDefault", function () {
return {}; return {};
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "LayoutBottom", function () { KityMinder.registerModule( "LayoutBottom", function () {
var minder = this; var minder = this;
var ShIcon = kity.createClass( "DefaultshIcon", ( function () { var ShIcon = kity.createClass( "DefaultshIcon", ( function () {
...@@ -2664,8 +2626,6 @@ KityMinder.registerModule( "LayoutBottom", function () { ...@@ -2664,8 +2626,6 @@ KityMinder.registerModule( "LayoutBottom", function () {
return {}; return {};
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
// 选区管理 // 选区管理
kity.extendClass( Minder, function () { kity.extendClass( Minder, function () {
function highlightNode( km, node ) { function highlightNode( km, node ) {
...@@ -2745,8 +2705,6 @@ kity.extendClass( Minder, function () { ...@@ -2745,8 +2705,6 @@ kity.extendClass( Minder, function () {
} }
}() ); }() );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
kity.Draggable = ( function () { kity.Draggable = ( function () {
var Paper = kity.Paper; var Paper = kity.Paper;
...@@ -2886,8 +2844,6 @@ kity.Draggable = ( function () { ...@@ -2886,8 +2844,6 @@ kity.Draggable = ( function () {
} ); } );
} )(); } )();
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "DropFile", function () { KityMinder.registerModule( "DropFile", function () {
function init() { function init() {
...@@ -2926,8 +2882,6 @@ KityMinder.registerModule( "DropFile", function () { ...@@ -2926,8 +2882,6 @@ KityMinder.registerModule( "DropFile", function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "KeyboardModule", function () { KityMinder.registerModule( "KeyboardModule", function () {
function buildPositionNetwork( root ) { function buildPositionNetwork( root ) {
...@@ -3053,8 +3007,6 @@ KityMinder.registerModule( "KeyboardModule", function () { ...@@ -3053,8 +3007,6 @@ KityMinder.registerModule( "KeyboardModule", function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "MouseModule", function () { KityMinder.registerModule( "MouseModule", function () {
var minder = this; var minder = this;
...@@ -3178,8 +3130,6 @@ KityMinder.registerModule( "MouseModule", function () { ...@@ -3178,8 +3130,6 @@ KityMinder.registerModule( "MouseModule", function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "HistoryModule", function () { KityMinder.registerModule( "HistoryModule", function () {
var km = this; var km = this;
...@@ -3360,8 +3310,6 @@ KityMinder.registerModule( "HistoryModule", function () { ...@@ -3360,8 +3310,6 @@ KityMinder.registerModule( "HistoryModule", function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "TextEditModule", function () { KityMinder.registerModule( "TextEditModule", function () {
var sel = new Minder.Selection(); var sel = new Minder.Selection();
var receiver = new Minder.Receiver(this); var receiver = new Minder.Receiver(this);
...@@ -3431,8 +3379,6 @@ KityMinder.registerModule( "TextEditModule", function () { ...@@ -3431,8 +3379,6 @@ KityMinder.registerModule( "TextEditModule", function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
Minder.Range = kity.createClass('Range',{ Minder.Range = kity.createClass('Range',{
constructor : function(){ constructor : function(){
this.nativeRange = document.createRange(); this.nativeRange = document.createRange();
...@@ -3475,8 +3421,6 @@ Minder.Range = kity.createClass('Range',{ ...@@ -3475,8 +3421,6 @@ Minder.Range = kity.createClass('Range',{
} }
}); });
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//接收者 //接收者
Minder.Receiver = kity.createClass('Receiver',{ Minder.Receiver = kity.createClass('Receiver',{
clear : function(){ clear : function(){
...@@ -3751,8 +3695,6 @@ Minder.Receiver = kity.createClass('Receiver',{ ...@@ -3751,8 +3695,6 @@ Minder.Receiver = kity.createClass('Receiver',{
} }
}); });
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//模拟光标 //模拟光标
Minder.Selection = kity.createClass( 'Selection', { Minder.Selection = kity.createClass( 'Selection', {
base: kity.Rect, base: kity.Rect,
...@@ -3866,8 +3808,6 @@ Minder.Selection = kity.createClass( 'Selection', { ...@@ -3866,8 +3808,6 @@ Minder.Selection = kity.createClass( 'Selection', {
} }
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "basestylemodule", function () { KityMinder.registerModule( "basestylemodule", function () {
var km = this; var km = this;
return { return {
...@@ -3957,8 +3897,6 @@ KityMinder.registerModule( "basestylemodule", function () { ...@@ -3957,8 +3897,6 @@ KityMinder.registerModule( "basestylemodule", function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( "fontmodule", function () { KityMinder.registerModule( "fontmodule", function () {
return { return {
...@@ -4058,8 +3996,6 @@ KityMinder.registerModule( "fontmodule", function () { ...@@ -4058,8 +3996,6 @@ KityMinder.registerModule( "fontmodule", function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerModule( 'Zoom', function () { KityMinder.registerModule( 'Zoom', function () {
return { return {
events: { events: {
...@@ -4076,8 +4012,6 @@ KityMinder.registerModule( 'Zoom', function () { ...@@ -4076,8 +4012,6 @@ KityMinder.registerModule( 'Zoom', function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
(function ($) { (function ($) {
//对jquery的扩展 //对jquery的扩展
$.parseTmpl = function parse(str, data) { $.parseTmpl = function parse(str, data) {
...@@ -4254,8 +4188,6 @@ Warning: Cannot modify header information - headers already sent by (output star ...@@ -4254,8 +4188,6 @@ Warning: Cannot modify header information - headers already sent by (output star
}) })
})(jQuery); })(jQuery);
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//button 类 //button 类
KM.ui.define('button', { KM.ui.define('button', {
tpl: '<<%if(!texttype){%>div class="kmui-btn kmui-btn-<%=icon%> <%if(name){%>kmui-btn-name-<%=name%><%}%>" unselectable="on" onmousedown="return false" <%}else{%>a class="kmui-text-btn"<%}%><% if(title) {%> data-original-title="<%=title%>" <%};%>> ' + tpl: '<<%if(!texttype){%>div class="kmui-btn kmui-btn-<%=icon%> <%if(name){%>kmui-btn-name-<%=name%><%}%>" unselectable="on" onmousedown="return false" <%}else{%>a class="kmui-text-btn"<%}%><% if(title) {%> data-original-title="<%=title%>" <%};%>> ' +
...@@ -4338,8 +4270,6 @@ KM.ui.define('button', { ...@@ -4338,8 +4270,6 @@ KM.ui.define('button', {
} }
}); });
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//toolbar 类 //toolbar 类
(function () { (function () {
KM.ui.define('toolbar', { KM.ui.define('toolbar', {
...@@ -4360,8 +4290,6 @@ Warning: Cannot modify header information - headers already sent by (output star ...@@ -4360,8 +4290,6 @@ Warning: Cannot modify header information - headers already sent by (output star
})(); })();
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//menu 类 //menu 类
KM.ui.define('menu',{ KM.ui.define('menu',{
show : function($obj,dir,fnname,topOffset,leftOffset){ show : function($obj,dir,fnname,topOffset,leftOffset){
...@@ -4406,8 +4334,6 @@ KM.ui.define('menu',{ ...@@ -4406,8 +4334,6 @@ KM.ui.define('menu',{
} }
}); });
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//dropmenu 类 //dropmenu 类
KM.ui.define('dropmenu', { KM.ui.define('dropmenu', {
tmpl: '<ul class="kmui-dropdown-menu" aria-labelledby="dropdownMenu" >' + tmpl: '<ul class="kmui-dropdown-menu" aria-labelledby="dropdownMenu" >' +
...@@ -4493,8 +4419,6 @@ KM.ui.define('dropmenu', { ...@@ -4493,8 +4419,6 @@ KM.ui.define('dropmenu', {
} }
}, 'menu'); }, 'menu');
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//splitbutton 类 //splitbutton 类
///import button ///import button
KM.ui.define('splitbutton',{ KM.ui.define('splitbutton',{
...@@ -4567,8 +4491,6 @@ KM.ui.define('splitbutton',{ ...@@ -4567,8 +4491,6 @@ KM.ui.define('splitbutton',{
} }
}); });
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
/** /**
* Created with JetBrains PhpStorm. * Created with JetBrains PhpStorm.
* User: hn * User: hn
...@@ -4599,8 +4521,6 @@ KM.ui.define('colorsplitbutton',{ ...@@ -4599,8 +4521,6 @@ KM.ui.define('colorsplitbutton',{
}, 'splitbutton'); }, 'splitbutton');
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//popup 类 //popup 类
KM.ui.define('popup', { KM.ui.define('popup', {
tpl: '<div class="kmui-dropdown-menu kmui-popup"'+ tpl: '<div class="kmui-dropdown-menu kmui-popup"'+
...@@ -4665,8 +4585,6 @@ KM.ui.define('popup', { ...@@ -4665,8 +4585,6 @@ KM.ui.define('popup', {
} }
}); });
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//scale 类 //scale 类
KM.ui.define('scale', { KM.ui.define('scale', {
tpl: '<div class="kmui-scale" unselectable="on">' + tpl: '<div class="kmui-scale" unselectable="on">' +
...@@ -4833,8 +4751,6 @@ KM.ui.define('scale', { ...@@ -4833,8 +4751,6 @@ KM.ui.define('scale', {
} }
}); });
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//colorpicker 类 //colorpicker 类
KM.ui.define('colorpicker', { KM.ui.define('colorpicker', {
tpl: function (opt) { tpl: function (opt) {
...@@ -4878,8 +4794,6 @@ KM.ui.define('colorpicker', { ...@@ -4878,8 +4794,6 @@ KM.ui.define('colorpicker', {
} }
}, 'popup'); }, 'popup');
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
/** /**
* Created with JetBrains PhpStorm. * Created with JetBrains PhpStorm.
* User: hn * User: hn
...@@ -5175,8 +5089,6 @@ Warning: Cannot modify header information - headers already sent by (output star ...@@ -5175,8 +5089,6 @@ Warning: Cannot modify header information - headers already sent by (output star
})(); })();
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
/** /**
* Combox 抽象基类 * Combox 抽象基类
* User: hn * User: hn
...@@ -5233,8 +5145,6 @@ Warning: Cannot modify header information - headers already sent by (output star ...@@ -5233,8 +5145,6 @@ Warning: Cannot modify header information - headers already sent by (output star
})(); })();
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
/*modal 类*/ /*modal 类*/
KM.ui.define('modal', { KM.ui.define('modal', {
tpl: '<div class="kmui-modal" tabindex="-1" >' + tpl: '<div class="kmui-modal" tabindex="-1" >' +
...@@ -5392,8 +5302,6 @@ KM.ui.define('modal', { ...@@ -5392,8 +5302,6 @@ KM.ui.define('modal', {
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
/*tooltip 类*/ /*tooltip 类*/
KM.ui.define('tooltip', { KM.ui.define('tooltip', {
tpl: '<div class="kmui-tooltip" unselectable="on" onmousedown="return false"><div class="kmui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="kmui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div>', tpl: '<div class="kmui-tooltip" unselectable="on" onmousedown="return false"><div class="kmui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="kmui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div>',
...@@ -5465,8 +5373,6 @@ KM.ui.define('tooltip', { ...@@ -5465,8 +5373,6 @@ KM.ui.define('tooltip', {
}); });
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
/*tab 类*/ /*tab 类*/
KM.ui.define('tab', { KM.ui.define('tab', {
init: function (options) { init: function (options) {
...@@ -5536,8 +5442,6 @@ KM.ui.define('tab', { ...@@ -5536,8 +5442,6 @@ KM.ui.define('tab', {
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//button 类 //button 类
KM.ui.define('separator', { KM.ui.define('separator', {
tpl: '<div class="kmui-separator" unselectable="on" onmousedown="return false" ></div>', tpl: '<div class="kmui-separator" unselectable="on" onmousedown="return false" ></div>',
...@@ -5548,8 +5452,6 @@ KM.ui.define('separator', { ...@@ -5548,8 +5452,6 @@ KM.ui.define('separator', {
} }
}); });
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
//scale 类 //scale 类
KM.ui.define('scale', { KM.ui.define('scale', {
tpl: '<div class="kmui-scale" unselectable="on">' + tpl: '<div class="kmui-scale" unselectable="on">' +
...@@ -5716,8 +5618,6 @@ KM.ui.define('scale', { ...@@ -5716,8 +5618,6 @@ KM.ui.define('scale', {
} }
}); });
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
/** /**
* 宽度自适应工具函数 * 宽度自适应工具函数
* @param word 单词内容 * @param word 单词内容
...@@ -5753,8 +5653,6 @@ $.wordCountAdaptive = function( word, hasSuffix ) { ...@@ -5753,8 +5653,6 @@ $.wordCountAdaptive = function( word, hasSuffix ) {
} }
}; };
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
utils.extend( KityMinder, function () { utils.extend( KityMinder, function () {
var _kityminderUI = {}, var _kityminderUI = {},
_activeWidget = null, _activeWidget = null,
...@@ -5875,8 +5773,6 @@ utils.extend( KityMinder, function () { ...@@ -5875,8 +5773,6 @@ utils.extend( KityMinder, function () {
} }
}() ); }() );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KM.registerUI('bold italic redo undo', KM.registerUI('bold italic redo undo',
function(name) { function(name) {
var me = this; var me = this;
...@@ -5897,8 +5793,6 @@ KM.registerUI('bold italic redo undo', ...@@ -5897,8 +5793,6 @@ KM.registerUI('bold italic redo undo',
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KM.registerUI( 'layoutstyle fontfamily fontsize', function ( name ) { KM.registerUI( 'layoutstyle fontfamily fontsize', function ( name ) {
var me = this, var me = this,
...@@ -6091,8 +5985,6 @@ KM.registerUI( 'forecolor', function ( name ) { ...@@ -6091,8 +5985,6 @@ KM.registerUI( 'forecolor', function ( name ) {
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KM.registerUI( 'saveto', function ( name ) { KM.registerUI( 'saveto', function ( name ) {
var me = this, var me = this,
...@@ -6145,8 +6037,6 @@ KM.registerUI( 'saveto', function ( name ) { ...@@ -6145,8 +6037,6 @@ KM.registerUI( 'saveto', function ( name ) {
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KM.registerUI( 'hand', KM.registerUI( 'hand',
function ( name ) { function ( name ) {
var me = this; var me = this;
...@@ -6175,8 +6065,6 @@ KM.registerUI( 'hand', ...@@ -6175,8 +6065,6 @@ KM.registerUI( 'hand',
} }
); );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerProtocal( "plain", function () { KityMinder.registerProtocal( "plain", function () {
var LINE_ENDING = '\n', var LINE_ENDING = '\n',
TAB_CHAR = '\t'; TAB_CHAR = '\t';
...@@ -6279,8 +6167,6 @@ KityMinder.registerProtocal( "plain", function () { ...@@ -6279,8 +6167,6 @@ KityMinder.registerProtocal( "plain", function () {
}; };
} ); } );
Warning: Cannot modify header information - headers already sent by (output started at /Users/techird/prj/km/dist/dev.php:70) in /Users/techird/prj/km/dist/dev.php on line 69
KityMinder.registerProtocal( 'json', function () { KityMinder.registerProtocal( 'json', function () {
function filter( key, value ) { function filter( key, value ) {
if ( key == 'layout' || key == 'shicon' ) { if ( key == 'layout' || key == 'shicon' ) {
......
...@@ -64,9 +64,9 @@ $dependency = Array( ...@@ -64,9 +64,9 @@ $dependency = Array(
$content = ""; $content = "";
header('Content-Type: text/javascript; charset=utf-8');
foreach ($dependency as $index => $dep) { foreach ($dependency as $index => $dep) {
if( $_GET['join'] != null || $argv[1] == 'join') { if( $_GET['join'] != null || $argv[1] == 'join') {
header('Content-Type: text/javascript; charset=utf-8');
echo file_get_contents("../$dep")."\n\n"; echo file_get_contents("../$dep")."\n\n";
} else { } else {
echo "document.write('<script charset=utf-8 src=\"../$dep\"></script>');"; echo "document.write('<script charset=utf-8 src=\"../$dep\"></script>');";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment