Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Commit fbf316b

Browse files
jzaeffererscottgonzalez
authored andcommitted
All: Move pointerevents.js to src/ folder
Fixes gh-239 Closes gh-240
1 parent 19e739e commit fbf316b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Gruntfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = function(grunt) {
1818
var testPkg = pkg['web-platform-tests'];
1919
var w3cPath = path.normalize(testPkg.path);
2020

21-
var srcFiles = ['pointerevents.js', 'src/**/*.js'];
21+
var srcFiles = ['src/**/*.js'];
2222
var buildFiles = ['Gruntfile.js', 'build/**/*.js'];
2323

2424
var testFiles = [
@@ -84,7 +84,7 @@ module.exports = function(grunt) {
8484
},
8585
watch: {
8686
src: {
87-
files: ['src/*', 'pointerevents.js'],
87+
files: srcFiles,
8888
tasks: ['build', 'lint'],
8989
options: {
9090
spawn: false
@@ -100,7 +100,7 @@ module.exports = function(grunt) {
100100
grunt.log.write('Building PEP...');
101101
esperanto.bundle({
102102
base: 'src',
103-
entry: '../pointerevents.js'
103+
entry: 'pointerevents.js'
104104
}).then(function(bundle) {
105105
var umd = bundle.toUmd({
106106
name: 'PointerEventsPolyfill'

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"files": [
1515
"dist/",
1616
"src/",
17-
"pointerevents.js",
1817
"samples/"
1918
],
2019
"bugs": "https://github.com/jquery/PEP/issues",
File renamed without changes.

0 commit comments

Comments
 (0)