mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-08 10:06:40 +02:00
Refactor code
This commit is contained in:
@@ -11,7 +11,3 @@ require('gulp-insert')
|
||||
var requireDir = require('require-dir')
|
||||
|
||||
requireDir('./gulp/tasks')
|
||||
|
||||
// var paths = {
|
||||
// scripts: ['./src/**/*.js', '!**/parser/*.js']
|
||||
// }
|
||||
|
12
test/nav.js
12
test/nav.js
@@ -5,10 +5,14 @@ var navApp = window.angular.module('navApp', [])
|
||||
|
||||
navApp.controller('NavAppCtrl', function ($scope) {
|
||||
$scope.items = [
|
||||
{'name': 'Ett',
|
||||
'url': 'cases/ett.html'},
|
||||
{'name': 'Two',
|
||||
'url': 'cases/two.html'}
|
||||
{
|
||||
'name': 'Ett',
|
||||
'url': 'cases/ett.html'
|
||||
},
|
||||
{
|
||||
'name': 'Two',
|
||||
'url': 'cases/two.html'
|
||||
}
|
||||
]
|
||||
|
||||
$scope.frameUrl = 'web.html'
|
||||
|
@@ -9,11 +9,9 @@ for (var file in window.__karma__.files) {
|
||||
console.log('Testing with: ' + file2)
|
||||
|
||||
tests.push(file2)
|
||||
//
|
||||
}
|
||||
}
|
||||
}
|
||||
// tests.push('parser/flow.spec');
|
||||
|
||||
require.config({
|
||||
// Karma serves files from '/base'
|
||||
|
@@ -1,9 +0,0 @@
|
||||
/**
|
||||
* Created by knut on 15-03-07.
|
||||
*/
|
||||
// define('simple', function () {
|
||||
// var simple = {
|
||||
// data: 'info'
|
||||
// }
|
||||
// return simple
|
||||
// })
|
1
todo.md
1
todo.md
@@ -3,7 +3,6 @@
|
||||
- Problem is it's for d3 v4 only
|
||||
- node console output colors like Chrome console
|
||||
- default theme doesn't work for class diagram
|
||||
- mermaidAPI.js cannot be required directly
|
||||
- compile less to css
|
||||
- don't version control generated content, move them to outside project
|
||||
- editor
|
||||
|
Reference in New Issue
Block a user