@dagrejs/dagre 0.8.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,70 +0,0 @@
1
- // Karma configuration
2
- // Generated on Sat Oct 18 2014 17:38:05 GMT-0700 (PDT)
3
-
4
- module.exports = function(config) {
5
- config.set({
6
-
7
- // base path that will be used to resolve all patterns (eg. files, exclude)
8
- basePath: '',
9
-
10
-
11
- // frameworks to use
12
- // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
13
- frameworks: ['mocha'],
14
-
15
-
16
- // list of files / patterns to load in the browser
17
- files: [
18
- 'node_modules/lodash/lodash.js',
19
- 'node_modules/@dagrejs/graphlib/dist/graphlib.core.js',
20
- 'build/dagre.core.js',
21
-
22
- 'node_modules/chai/chai.js',
23
- 'test/bundle-test.js'
24
- ],
25
-
26
-
27
- // list of files to exclude
28
- exclude: [
29
- ],
30
-
31
-
32
- // preprocess matching files before serving them to the browser
33
- // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
34
- preprocessors: {
35
- },
36
-
37
-
38
- // test results reporter to use
39
- // possible values: 'dots', 'progress'
40
- // available reporters: https://npmjs.org/browse/keyword/karma-reporter
41
- reporters: ['progress'],
42
-
43
-
44
- // web server port
45
- port: 9876,
46
-
47
-
48
- // enable / disable colors in the output (reporters and logs)
49
- colors: true,
50
-
51
-
52
- // level of logging
53
- // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
54
- logLevel: config.LOG_INFO,
55
-
56
-
57
- // enable / disable watching file and executing tests whenever any file changes
58
- autoWatch: true,
59
-
60
-
61
- // start these browsers
62
- // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
63
- browsers: ['Chrome', 'Firefox', 'PhantomJS'],
64
-
65
-
66
- // Continuous Integration mode
67
- // if true, Karma captures browsers, runs the tests and exits
68
- singleRun: false
69
- });
70
- };
package/lib/graphlib.js DELETED
@@ -1,15 +0,0 @@
1
- /* global window */
2
-
3
- var graphlib;
4
-
5
- if (typeof require === "function") {
6
- try {
7
- graphlib = require("@dagrejs/graphlib");
8
- } catch (e) {}
9
- }
10
-
11
- if (!graphlib) {
12
- graphlib = window.graphlib;
13
- }
14
-
15
- module.exports = graphlib;
package/lib/lodash.js DELETED
@@ -1,15 +0,0 @@
1
- /* global window */
2
-
3
- var lodash;
4
-
5
- if (typeof require === "function") {
6
- try {
7
- lodash = require("lodash");
8
- } catch (e) {}
9
- }
10
-
11
- if (!lodash) {
12
- lodash = window._;
13
- }
14
-
15
- module.exports = lodash;