Commit 0c98c607 authored by techird's avatar techird

fix path

parent 4a06382a
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var connect = require('core/connect'); var connect = require('../core/connect');
var connectMarker = new kity.Marker().pipe(function() { var connectMarker = new kity.Marker().pipe(function() {
var r = 7; var r = 7;
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var connect = require('core/connect'); var connect = require('../core/connect');
connect.register('bezier', function(node, parent, connection) { connect.register('bezier', function(node, parent, connection) {
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var connect = require('core/connect'); var connect = require('../core/connect');
connect.register('fish-bone-master', function(node, parent, connection) { connect.register('fish-bone-master', function(node, parent, connection) {
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var connect = require('core/connect'); var connect = require('../core/connect');
connect.register('l', function(node, parent, connection) { connect.register('l', function(node, parent, connection) {
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var connect = require('core/connect'); var connect = require('../core/connect');
connect.register('poly', function(node, parent, connection, width) { connect.register('poly', function(node, parent, connection, width) {
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var connect = require('core/connect'); var connect = require('../core/connect');
connect.register('under', function(node, parent, connection, width, color) { connect.register('under', function(node, parent, connection, width, color) {
......
...@@ -10,87 +10,87 @@ ...@@ -10,87 +10,87 @@
define('kityminder', function(require, exports, module) { define('kityminder', function(require, exports, module) {
var kityminder = { var kityminder = {
version: require('core/minder').version version: require('./core/minder').version
}; };
// 核心导出,大写的部分导出类,小写的部分简单 require 一下 // 核心导出,大写的部分导出类,小写的部分简单 require 一下
// 这里顺序是有讲究的,调整前先弄清楚依赖关系。 // 这里顺序是有讲究的,调整前先弄清楚依赖关系。
require('core/utils'); require('./core/utils');
kityminder.Minder = require('core/minder'); kityminder.Minder = require('./core/minder');
kityminder.Command = require('core/command'); kityminder.Command = require('./core/command');
kityminder.Node = require('core/node'); kityminder.Node = require('./core/node');
require('core/option'); require('./core/option');
kityminder.Event = require('core/event'); kityminder.Event = require('./core/event');
kityminder.data = require('core/data'); kityminder.data = require('./core/data');
require('core/compatibility'); require('./core/compatibility');
kityminder.KeyMap = require('core/keymap'); kityminder.KeyMap = require('./core/keymap');
require('core/key'); require('./core/key');
require('core/status'); require('./core/status');
require('core/paper'); require('./core/paper');
require('core/select'); require('./core/select');
kityminder.Module = require('core/module'); kityminder.Module = require('./core/module');
require('core/readonly'); require('./core/readonly');
kityminder.Render = require('core/render'); kityminder.Render = require('./core/render');
kityminder.Connect = require('core/connect'); kityminder.Connect = require('./core/connect');
kityminder.Layout = require('core/layout'); kityminder.Layout = require('./core/layout');
kityminder.Theme = require('core/theme'); kityminder.Theme = require('./core/theme');
kityminder.Template = require('core/template'); kityminder.Template = require('./core/template');
kityminder.Promise = require('core/promise'); kityminder.Promise = require('./core/promise');
// 模块依赖 // 模块依赖
require('module/arrange'); require('./module/arrange');
require('module/basestyle'); require('./module/basestyle');
require('module/clipboard'); require('./module/clipboard');
require('module/dragtree'); require('./module/dragtree');
require('module/expand'); require('./module/expand');
require('module/font'); require('./module/font');
require('module/history'); require('./module/history');
require('module/hyperlink'); require('./module/hyperlink');
require('module/image'); require('./module/image');
require('module/keynav'); require('./module/keynav');
require('module/layout'); require('./module/layout');
require('module/node'); require('./module/node');
require('module/note'); require('./module/note');
require('module/outline'); require('./module/outline');
require('module/priority'); require('./module/priority');
require('module/progress'); require('./module/progress');
require('module/resource'); require('./module/resource');
require('module/select'); require('./module/select');
require('module/style'); require('./module/style');
require('module/text'); require('./module/text');
require('module/view'); require('./module/view');
require('module/zoom'); require('./module/zoom');
require('protocol/json'); require('./protocol/json');
require('protocol/text'); require('./protocol/text');
require('protocol/markdown'); require('./protocol/markdown');
require('protocol/svg'); require('./protocol/svg');
require('protocol/png'); require('./protocol/png');
require('layout/mind'); require('./layout/mind');
require('layout/btree'); require('./layout/btree');
require('layout/filetree'); require('./layout/filetree');
require('layout/fish-bone-master'); require('./layout/fish-bone-master');
require('layout/fish-bone-slave'); require('./layout/fish-bone-slave');
require('theme/default'); require('./theme/default');
require('theme/snow'); require('./theme/snow');
require('theme/fresh'); require('./theme/fresh');
require('theme/fish'); require('./theme/fish');
require('theme/snow'); require('./theme/snow');
require('connect/arc'); require('./connect/arc');
require('connect/bezier'); require('./connect/bezier');
require('connect/fish-bone-master'); require('./connect/fish-bone-master');
require('connect/l'); require('./connect/l');
require('connect/poly'); require('./connect/poly');
require('connect/under'); require('./connect/under');
require('template/default'); require('./template/default');
require('template/structure'); require('./template/structure');
require('template/filetree'); require('./template/filetree');
require('template/right'); require('./template/right');
require('template/fish-bone'); require('./template/fish-bone');
module.exports = window.kityminder = kityminder; module.exports = window.kityminder = kityminder;
}); });
\ No newline at end of file
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var Layout = require('core/layout'); var Layout = require('../core/layout');
['left', 'right', 'top', 'bottom'].forEach(registerLayoutForDirection); ['left', 'right', 'top', 'bottom'].forEach(registerLayoutForDirection);
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var Layout = require('core/layout'); var Layout = require('../core/layout');
[-1, 1].forEach(registerLayoutForDir); [-1, 1].forEach(registerLayoutForDir);
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var Layout = require('core/layout'); var Layout = require('../core/layout');
Layout.register('fish-bone-master', kity.createClass('FishBoneMasterLayout', { Layout.register('fish-bone-master', kity.createClass('FishBoneMasterLayout', {
base: Layout, base: Layout,
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var Layout = require('core/layout'); var Layout = require('../core/layout');
Layout.register('fish-bone-slave', kity.createClass('FishBoneSlaveLayout', { Layout.register('fish-bone-slave', kity.createClass('FishBoneSlaveLayout', {
base: Layout, base: Layout,
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var Layout = require('core/layout'); var Layout = require('../core/layout');
var Minder = require('core/minder'); var Minder = require('../core/minder');
Layout.register('mind', kity.createClass({ Layout.register('mind', kity.createClass({
base: Layout, base: Layout,
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
kity.extendClass(MinderNode, { kity.extendClass(MinderNode, {
arrange: function(index) { arrange: function(index) {
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var TextRenderer = require('./text'); var TextRenderer = require('./text');
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
Module.register('ClipboardModule', function() { Module.register('ClipboardModule', function() {
var km = this, var km = this,
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
// 矩形的变形动画定义 // 矩形的变形动画定义
var MoveToParentCommand = kity.createClass('MoveToParentCommand', { var MoveToParentCommand = kity.createClass('MoveToParentCommand', {
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var keymap = require('core/keymap'); var keymap = require('../core/keymap');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
Module.register('Expand', function() { Module.register('Expand', function() {
var minder = this; var minder = this;
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var TextRenderer = require('./text'); var TextRenderer = require('./text');
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
function compareObject(source, target) { function compareObject(source, target) {
var tmp; var tmp;
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
// jscs:disable maximumLineLength // jscs:disable maximumLineLength
var linkShapePath = 'M16.614,10.224h-1.278c-1.668,0-3.07-1.07-3.599-2.556h4.877c0.707,0,1.278-0.571,1.278-1.278V3.834 c0-0.707-0.571-1.278-1.278-1.278h-4.877C12.266,1.071,13.668,0,15.336,0h1.278c2.116,0,3.834,1.716,3.834,3.834V6.39 C20.448,8.508,18.73,10.224,16.614,10.224z M5.112,5.112c0-0.707,0.573-1.278,1.278-1.278h7.668c0.707,0,1.278,0.571,1.278,1.278 S14.765,6.39,14.058,6.39H6.39C5.685,6.39,5.112,5.819,5.112,5.112z M2.556,3.834V6.39c0,0.707,0.573,1.278,1.278,1.278h4.877 c-0.528,1.486-1.932,2.556-3.599,2.556H3.834C1.716,10.224,0,8.508,0,6.39V3.834C0,1.716,1.716,0,3.834,0h1.278 c1.667,0,3.071,1.071,3.599,2.556H3.834C3.129,2.556,2.556,3.127,2.556,3.834z'; var linkShapePath = 'M16.614,10.224h-1.278c-1.668,0-3.07-1.07-3.599-2.556h4.877c0.707,0,1.278-0.571,1.278-1.278V3.834 c0-0.707-0.571-1.278-1.278-1.278h-4.877C12.266,1.071,13.668,0,15.336,0h1.278c2.116,0,3.834,1.716,3.834,3.834V6.39 C20.448,8.508,18.73,10.224,16.614,10.224z M5.112,5.112c0-0.707,0.573-1.278,1.278-1.278h7.668c0.707,0,1.278,0.571,1.278,1.278 S14.765,6.39,14.058,6.39H6.39C5.685,6.39,5.112,5.819,5.112,5.112z M2.556,3.834V6.39c0,0.707,0.573,1.278,1.278,1.278h4.877 c-0.528,1.486-1.932,2.556-3.599,2.556H3.834C1.716,10.224,0,8.508,0,6.39V3.834C0,1.716,1.716,0,3.834,0h1.278 c1.667,0,3.071,1.071,3.599,2.556H3.834C3.129,2.556,2.556,3.127,2.556,3.834z';
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
Module.register('image', function() { Module.register('image', function() {
function loadImageSize(url, callback) { function loadImageSize(url, callback) {
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var keymap = require('core/keymap'); var keymap = require('../core/keymap');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
Module.register('KeyboardModule', function() { Module.register('KeyboardModule', function() {
var min = Math.min, var min = Math.min,
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
/** /**
* @command AppendChildNode * @command AppendChildNode
......
...@@ -7,14 +7,14 @@ ...@@ -7,14 +7,14 @@
* @copyright: Baidu FEX, 2014 * @copyright: Baidu FEX, 2014
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
Module.register('NoteModule', function() { Module.register('NoteModule', function() {
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
var OutlineRenderer = kity.createClass('OutlineRenderer', { var OutlineRenderer = kity.createClass('OutlineRenderer', {
base: Renderer, base: Renderer,
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
Module.register('PriorityModule', function() { Module.register('PriorityModule', function() {
var minder = this; var minder = this;
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
Module.register('ProgressModule', function() { Module.register('ProgressModule', function() {
var minder = this; var minder = this;
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
Module.register('Resource', function() { Module.register('Resource', function() {
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
Module.register('Select', function() { Module.register('Select', function() {
var minder = this; var minder = this;
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
Module.register('StyleModule', function() { Module.register('StyleModule', function() {
var styleNames = ['font-size', 'font-family', 'font-weight', 'font-style', 'background', 'color']; var styleNames = ['font-size', 'font-family', 'font-weight', 'font-style', 'background', 'color'];
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
var FONT_ADJUST = { var FONT_ADJUST = {
'微软雅黑,Microsoft YaHei': -0.15, '微软雅黑,Microsoft YaHei': -0.15,
'arial black,avant garde': -0.17, 'arial black,avant garde': -0.17,
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
var ViewDragger = kity.createClass('ViewDragger', { var ViewDragger = kity.createClass('ViewDragger', {
constructor: function(minder) { constructor: function(minder) {
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var utils = require('core/utils'); var utils = require('../core/utils');
var Minder = require('core/minder'); var Minder = require('../core/minder');
var MinderNode = require('core/node'); var MinderNode = require('../core/node');
var Command = require('core/command'); var Command = require('../core/command');
var Module = require('core/module'); var Module = require('../core/module');
var Renderer = require('core/render'); var Renderer = require('../core/render');
Module.register('Zoom', function() { Module.register('Zoom', function() {
var me = this; var me = this;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* @copyright: Baidu FEX, 2014 * @copyright: Baidu FEX, 2014
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var template = require('core/template'); var template = require('../core/template');
template.register('default', { template.register('default', {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* @copyright: Baidu FEX, 2014 * @copyright: Baidu FEX, 2014
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var template = require('core/template'); var template = require('../core/template');
template.register('filetree', { template.register('filetree', {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* @copyright: Baidu FEX, 2014 * @copyright: Baidu FEX, 2014
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var template = require('core/template'); var template = require('../core/template');
template.register('fish-bone', { template.register('fish-bone', {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* @copyright: Baidu FEX, 2014 * @copyright: Baidu FEX, 2014
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var template = require('core/template'); var template = require('../core/template');
template.register('right', { template.register('right', {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* @copyright: Baidu FEX, 2014 * @copyright: Baidu FEX, 2014
*/ */
define(function(require, exports, module) { define(function(require, exports, module) {
var template = require('core/template'); var template = require('../core/template');
template.register('structure', { template.register('structure', {
......
define(function(require, exports, module) { define(function(require, exports, module) {
var theme = require('core/theme'); var theme = require('../core/theme');
['classic', 'classic-compact'].forEach(function(name) { ['classic', 'classic-compact'].forEach(function(name) {
var compact = name == 'classic-compact'; var compact = name == 'classic-compact';
......
define(function(require, exports, module) { define(function(require, exports, module) {
var theme = require('core/theme'); var theme = require('../core/theme');
theme.register('fish', { theme.register('fish', {
'background': '#3A4144 url(ui/theme/default/images/grid.png) repeat', 'background': '#3A4144 url(ui/theme/default/images/grid.png) repeat',
......
define(function(require, exports, module) { define(function(require, exports, module) {
var kity = require('core/kity'); var kity = require('../core/kity');
var theme = require('core/theme'); var theme = require('../core/theme');
function hsl(h, s, l) { function hsl(h, s, l) {
return kity.Color.createHSL(h, s, l); return kity.Color.createHSL(h, s, l);
......
define(function(require, exports, module) { define(function(require, exports, module) {
var theme = require('core/theme'); var theme = require('../core/theme');
['snow', 'snow-compact'].forEach(function(name) { ['snow', 'snow-compact'].forEach(function(name) {
var compact = name == 'snow-compact'; var compact = name == 'snow-compact';
......
define(function(require, exports, module) { define(function(require, exports, module) {
var theme = require('core/theme'); var theme = require('../core/theme');
theme.register('wire', { theme.register('wire', {
'background': 'black', 'background': 'black',
......
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