Skip to content

Commit 084a316

Browse files
committed
?
1 parent 78c3bf5 commit 084a316

File tree

715 files changed

+1134756
-1134751
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

715 files changed

+1134756
-1134751
lines changed

.gitattributes

+63-63
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
1-
###############################################################################
2-
# Set default behavior to automatically normalize line endings.
3-
###############################################################################
4-
# * text=auto
5-
6-
###############################################################################
7-
# Set default behavior for command prompt diff.
8-
#
9-
# This is need for earlier builds of msysgit that does not have it on by
10-
# default for csharp files.
11-
# Note: This is only used by command line
12-
###############################################################################
13-
#*.cs diff=csharp
14-
15-
###############################################################################
16-
# Set the merge driver for project and solution files
17-
#
18-
# Merging from the command prompt will add diff markers to the files if there
19-
# are conflicts (Merging from VS is not affected by the settings below, in VS
20-
# the diff markers are never inserted). Diff markers may cause the following
21-
# file extensions to fail to load in VS. An alternative would be to treat
22-
# these files as binary and thus will always conflict and require user
23-
# intervention with every merge. To do so, just uncomment the entries below
24-
###############################################################################
25-
#*.sln merge=binary
26-
#*.csproj merge=binary
27-
#*.vbproj merge=binary
28-
#*.vcxproj merge=binary
29-
#*.vcproj merge=binary
30-
#*.dbproj merge=binary
31-
#*.fsproj merge=binary
32-
#*.lsproj merge=binary
33-
#*.wixproj merge=binary
34-
#*.modelproj merge=binary
35-
#*.sqlproj merge=binary
36-
#*.wwaproj merge=binary
37-
38-
###############################################################################
39-
# behavior for image files
40-
#
41-
# image files are treated as binary by default.
42-
###############################################################################
43-
#*.jpg binary
44-
#*.png binary
45-
#*.gif binary
46-
47-
###############################################################################
48-
# diff behavior for common document formats
49-
#
50-
# Convert binary document formats to text before diffing them. This feature
51-
# is only available from the command line. Turn it on by uncommenting the
52-
# entries below.
53-
###############################################################################
54-
#*.doc diff=astextplain
55-
#*.DOC diff=astextplain
56-
#*.docx diff=astextplain
57-
#*.DOCX diff=astextplain
58-
#*.dot diff=astextplain
59-
#*.DOT diff=astextplain
60-
#*.pdf diff=astextplain
61-
#*.PDF diff=astextplain
62-
#*.rtf diff=astextplain
63-
#*.RTF diff=astextplain
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
# * text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

Gruntfile.js

+120-120
Original file line numberDiff line numberDiff line change
@@ -1,120 +1,120 @@
1-
module.exports = function (grunt) {
2-
require('load-grunt-tasks')(grunt);
3-
require('./tasks/examples')(grunt);
4-
grunt.loadNpmTasks('typedoc');
5-
grunt.loadNpmTasks('dts-generator');
6-
grunt.initConfig({
7-
pkg: grunt.file.readJSON('package.json'),
8-
copy: {
9-
d3: {
10-
src: 'node_modules/d3/d3.min.js',
11-
dest: 'WebCola/extern/d3.min.js'
12-
},
13-
qunit: {
14-
src: 'node_modules/qunitjs/qunit/*',
15-
dest: 'WebCola/test/'
16-
},
17-
},
18-
watch: {
19-
typescript: {
20-
files: ["<%= typescript.base.src %>","<%= typescript.examples.src %>"],
21-
tasks: ["typescript"]
22-
},
23-
test: {
24-
files: ["WebCola/test/*.js"],
25-
tasks: ["qunit"]
26-
}
27-
},
28-
typescript: {
29-
base: {
30-
src: ['WebCola/src/*.ts'],
31-
dest: 'WebCola/cola.js',
32-
options: {
33-
module: 'amd',
34-
target: 'es5',
35-
sourceMap: true
36-
}
37-
},
38-
test: {
39-
src: ['WebCola/test/*.ts'],
40-
options: {
41-
module: 'amd',
42-
target: 'es5',
43-
sourceMap: true
44-
}
45-
},
46-
commonjs: {
47-
src: ['WebCola/index.ts'],
48-
dest: 'WebCola/index.js',
49-
options: {
50-
module: 'commonjs',
51-
target: 'es5'
52-
}
53-
},
54-
examples: {
55-
src: ['WebCola/examples/*.ts'],
56-
options: {
57-
module: 'amd',
58-
target: 'es5',
59-
sourceMap: true
60-
}
61-
}
62-
},
63-
dtsGenerator: {
64-
options: {
65-
name: 'cola',
66-
baseDir: 'WebCola',
67-
out: 'WebCola/cola.d.ts',
68-
excludes: ['extern/d3.d.ts']
69-
},
70-
default: {
71-
src: [ 'WebCola/src/*.ts' ]
72-
}
73-
},
74-
umd: {
75-
all: {
76-
src: '<%= dist.dest %>',
77-
template: 'templates/umd.hbs',
78-
objectToExport: 'cola',
79-
deps: {
80-
'default': ['d3']
81-
}
82-
}
83-
},
84-
uglify: {
85-
options: {
86-
sourceMap: true
87-
},
88-
dist: {
89-
files: {
90-
'WebCola/cola.min.js': [
91-
'<%= typescript.base.dest %>'
92-
]
93-
}
94-
}
95-
},
96-
qunit: {
97-
all: ['WebCola/test/*.html']
98-
},
99-
examples: {
100-
all: ["WebCola/examples/*.html"]
101-
},
102-
typedoc: {
103-
options: {
104-
module: 'amd',
105-
target: 'es5',
106-
out: 'doc/',
107-
name: 'WebCoLa AKA cola.js',
108-
theme: 'minimal'
109-
},
110-
src: ["<%= typescript.base.src %>"]
111-
}
112-
});
113-
114-
grunt.registerTask('default', ['copy', 'typescript', 'uglify', 'qunit']);
115-
grunt.registerTask('nougly', ['typescript', 'qunit']);
116-
grunt.registerTask('nougly-notest', ['typescript']);
117-
grunt.registerTask('docs', ['typedoc', 'typescript:examples']);
118-
grunt.registerTask('examples', ['typescript:examples']);
119-
grunt.registerTask('full', ['default', 'typescript:examples', 'examples']);
120-
};
1+
module.exports = function (grunt) {
2+
require('load-grunt-tasks')(grunt);
3+
require('./tasks/examples')(grunt);
4+
grunt.loadNpmTasks('typedoc');
5+
grunt.loadNpmTasks('dts-generator');
6+
grunt.initConfig({
7+
pkg: grunt.file.readJSON('package.json'),
8+
copy: {
9+
d3: {
10+
src: 'node_modules/d3/d3.min.js',
11+
dest: 'WebCola/extern/d3.min.js'
12+
},
13+
qunit: {
14+
src: 'node_modules/qunitjs/qunit/*',
15+
dest: 'WebCola/test/'
16+
},
17+
},
18+
watch: {
19+
typescript: {
20+
files: ["<%= typescript.base.src %>","<%= typescript.examples.src %>"],
21+
tasks: ["typescript"]
22+
},
23+
test: {
24+
files: ["WebCola/test/*.js"],
25+
tasks: ["qunit"]
26+
}
27+
},
28+
typescript: {
29+
base: {
30+
src: ['WebCola/src/*.ts'],
31+
dest: 'WebCola/cola.js',
32+
options: {
33+
module: 'amd',
34+
target: 'es5',
35+
sourceMap: true
36+
}
37+
},
38+
test: {
39+
src: ['WebCola/test/*.ts'],
40+
options: {
41+
module: 'amd',
42+
target: 'es5',
43+
sourceMap: true
44+
}
45+
},
46+
commonjs: {
47+
src: ['WebCola/index.ts'],
48+
dest: 'WebCola/index.js',
49+
options: {
50+
module: 'commonjs',
51+
target: 'es5'
52+
}
53+
},
54+
examples: {
55+
src: ['WebCola/examples/*.ts'],
56+
options: {
57+
module: 'amd',
58+
target: 'es5',
59+
sourceMap: true
60+
}
61+
}
62+
},
63+
dtsGenerator: {
64+
options: {
65+
name: 'cola',
66+
baseDir: 'WebCola',
67+
out: 'WebCola/cola.d.ts',
68+
excludes: ['extern/d3.d.ts']
69+
},
70+
default: {
71+
src: [ 'WebCola/src/*.ts' ]
72+
}
73+
},
74+
umd: {
75+
all: {
76+
src: '<%= dist.dest %>',
77+
template: 'templates/umd.hbs',
78+
objectToExport: 'cola',
79+
deps: {
80+
'default': ['d3']
81+
}
82+
}
83+
},
84+
uglify: {
85+
options: {
86+
sourceMap: true
87+
},
88+
dist: {
89+
files: {
90+
'WebCola/cola.min.js': [
91+
'<%= typescript.base.dest %>'
92+
]
93+
}
94+
}
95+
},
96+
qunit: {
97+
all: ['WebCola/test/*.html']
98+
},
99+
examples: {
100+
all: ["WebCola/examples/*.html"]
101+
},
102+
typedoc: {
103+
options: {
104+
module: 'amd',
105+
target: 'es5',
106+
out: 'doc/',
107+
name: 'WebCoLa AKA cola.js',
108+
theme: 'minimal'
109+
},
110+
src: ["<%= typescript.base.src %>"]
111+
}
112+
});
113+
114+
grunt.registerTask('default', ['copy', 'typescript', 'uglify', 'qunit']);
115+
grunt.registerTask('nougly', ['typescript', 'qunit']);
116+
grunt.registerTask('nougly-notest', ['typescript']);
117+
grunt.registerTask('docs', ['typedoc', 'typescript:examples']);
118+
grunt.registerTask('examples', ['typescript:examples']);
119+
grunt.registerTask('full', ['default', 'typescript:examples', 'examples']);
120+
};

0 commit comments

Comments
 (0)