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

Commit

Permalink
All: Move pointerevents.js to src/ folder
Browse files Browse the repository at this point in the history
Fixes gh-239
Closes gh-240
  • Loading branch information
jzaefferer authored and scottgonzalez committed Nov 3, 2015
1 parent 19e739e commit fbf316b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = function(grunt) {
var testPkg = pkg['web-platform-tests'];
var w3cPath = path.normalize(testPkg.path);

var srcFiles = ['pointerevents.js', 'src/**/*.js'];
var srcFiles = ['src/**/*.js'];
var buildFiles = ['Gruntfile.js', 'build/**/*.js'];

var testFiles = [
Expand Down Expand Up @@ -84,7 +84,7 @@ module.exports = function(grunt) {
},
watch: {
src: {
files: ['src/*', 'pointerevents.js'],
files: srcFiles,
tasks: ['build', 'lint'],
options: {
spawn: false
Expand All @@ -100,7 +100,7 @@ module.exports = function(grunt) {
grunt.log.write('Building PEP...');
esperanto.bundle({
base: 'src',
entry: '../pointerevents.js'
entry: 'pointerevents.js'
}).then(function(bundle) {
var umd = bundle.toUmd({
name: 'PointerEventsPolyfill'
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"files": [
"dist/",
"src/",
"pointerevents.js",
"samples/"
],
"bugs": "https://github.com/jquery/PEP/issues",
Expand Down
File renamed without changes.

0 comments on commit fbf316b

Please sign in to comment.