Commit b1604999 authored by techird's avatar techird

add expose file

parent 0c98c607
......@@ -26,7 +26,7 @@ module.exports = function(grunt) {
' * ====================================================\n' +
' */\n\n';
var expose = '\nuse(\'kityminder\');\n';
var expose = '\nuse(\'expose\');\n';
// Project configuration.
grunt.initConfig({
......@@ -42,7 +42,7 @@ module.exports = function(grunt) {
dependence: {
options: {
base: 'src',
entrance: 'kityminder'
entrance: 'expose'
},
merge: {
files: [{
......
define('expose', function(require, exports, module) {
module.exports = window.kityminder = require('./kityminder');
});
\ No newline at end of file
......@@ -8,7 +8,7 @@
*/
define('kityminder', function(require, exports, module) {
define(function(require, exports, module) {
var kityminder = {
version: require('./core/minder').version
};
......@@ -92,5 +92,5 @@ define('kityminder', function(require, exports, module) {
require('./template/right');
require('./template/fish-bone');
module.exports = window.kityminder = kityminder;
module.exports = kityminder;
});
\ No newline at end of file
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