Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit e37d6ca

Browse files
Fixing tests
1 parent b2ce33a commit e37d6ca

File tree

12 files changed

+1721
-830
lines changed

12 files changed

+1721
-830
lines changed

Gruntfile.js

Lines changed: 48 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,31 @@ module.exports = function (grunt) {
33
grunt.initConfig({
44
pkg: grunt.file.readJSON('package.json'),
55
meta: {
6-
banner:
7-
'/*'+
8-
'Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.\r\n' +
9-
'Microsoft Open Technologies would like to thank its contributors, a list.\r\n' +
10-
'of whom are at http://aspnetwebstack.codeplex.com/wikipage?title=Contributors..\r\n' +
11-
'Licensed under the Apache License, Version 2.0 (the "License"); you.\r\n' +
12-
'may not use this file except in compliance with the License. You may.\r\n' +
13-
'obtain a copy of the License at.\r\n\r\n' +
14-
'http://www.apache.org/licenses/LICENSE-2.0.\r\n\r\n' +
15-
'Unless required by applicable law or agreed to in writing, software.\r\n' +
16-
'distributed under the License is distributed on an "AS IS" BASIS,.\r\n' +
17-
'WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or.\r\n' +
18-
'implied. See the License for the specific language governing permissions.\r\n' +
19-
'and limitations under the License..\r\n' +
20-
'*/'
6+
banner:
7+
'/*'+
8+
'Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.\r\n' +
9+
'Microsoft Open Technologies would like to thank its contributors, a list.\r\n' +
10+
'of whom are at http://aspnetwebstack.codeplex.com/wikipage?title=Contributors..\r\n' +
11+
'Licensed under the Apache License, Version 2.0 (the "License"); you.\r\n' +
12+
'may not use this file except in compliance with the License. You may.\r\n' +
13+
'obtain a copy of the License at.\r\n\r\n' +
14+
'http://www.apache.org/licenses/LICENSE-2.0.\r\n\r\n' +
15+
'Unless required by applicable law or agreed to in writing, software.\r\n' +
16+
'distributed under the License is distributed on an "AS IS" BASIS,.\r\n' +
17+
'WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or.\r\n' +
18+
'implied. See the License for the specific language governing permissions.\r\n' +
19+
'and limitations under the License..\r\n' +
20+
'*/'
2121
},
2222
concat: {
2323
basic: {
2424
src: [
2525
'src/license.js',
2626
'src/intro.js',
2727
'src/basicheader.js',
28+
'src/fromevent.js',
29+
'src/events.js',
30+
'src/ready.js',
2831
'src/ajax.js',
2932
'src/jsonp.js',
3033
'src/websocket.js',
@@ -36,13 +39,37 @@ module.exports = function (grunt) {
3639
'src/outro.js'
3740
],
3841
dest: 'dist/rx.dom.js'
39-
}
42+
},
43+
compat: {
44+
src: [
45+
'src/license.js',
46+
'src/intro.js',
47+
'src/basicheader.js',
48+
'src/fromevent.compat.js',
49+
'src/events.js',
50+
'src/ready.compat.js',
51+
'src/ajax.js',
52+
'src/jsonp.js',
53+
'src/websocket.js',
54+
'src/webworker.js',
55+
'src/mutationobserver.js',
56+
'src/requestanimationframescheduler.js',
57+
'src/mutationobserverscheduler.js',
58+
'src/geolocation.js',
59+
'src/outro.js'
60+
],
61+
dest: 'dist/rx.dom.compat.js'
62+
},
4063
},
4164
uglify: {
42-
basic: {
43-
src: ['<banner>', 'dist/rx.dom.js'],
44-
dest: 'dist/rx.dom.min.js'
45-
}
65+
basic: {
66+
src: ['<banner>', 'dist/rx.dom.js'],
67+
dest: 'dist/rx.dom.min.js'
68+
},
69+
compat: {
70+
src: ['<banner>', 'dist/rx.dom.compat.js'],
71+
dest: 'dist/rx.dom.min.js'
72+
},
4673
},
4774
qunit: {
4875
all: ['tests/*.html']
@@ -83,5 +110,5 @@ module.exports = function (grunt) {
83110
});
84111

85112
// Default task(s).
86-
grunt.registerTask('default', ['concat:basic', 'uglify:basic', 'qunit']);
113+
grunt.registerTask('default', ['concat:basic', 'concat:compat', 'uglify:basic', 'uglify:compat', 'qunit']);
87114
};

0 commit comments

Comments
 (0)