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

Necessary changes for transfer to jQuery Foundation #146

Merged
merged 1 commit into from
Dec 16, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Rick Byers <rb-github@rbyers.net>
Daniel Freedman <dfreedm@google.com> <dfreedm2@gmail.com>
Steve Orvell <sorvell@google.com> <steve@orvellia.com>
Steve Orvell <sorvell@google.com> <steve@turboajax.com>
Scott J. Miles <sjmiles@google.com> <scott@milesmail.net>
14 changes: 0 additions & 14 deletions AUTHORS

This file was deleted.

16 changes: 16 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Authors ordered by first contribution

Daniel Freedman <dfreedm@google.com>
Steve Orvell <sorvell@google.com>
Frankie Fu <frankiefu@yahoo.com>
Scott J. Miles <sjmiles@google.com>
Boris Smus <boris@smus.com>
Yvonne Yip <ykyyip@google.com>
Erik Arvidsson <arv@chromium.org>
Eric Bidelman <ebidel@gmail.com>
Kris Borchers <kris.borchers@gmail.com>
Scott González <scott.gonzalez@gmail.com>
Rick Byers <rb-github@rbyers.net>
Günter Zöchbauer <guenter@gzoechbauer.com>
Tom Buckley <tbuckley89@gmail.com>
Addy Osmani <addyosmani@gmail.com>
1 change: 0 additions & 1 deletion CONTRIBUTING.md

This file was deleted.

30 changes: 0 additions & 30 deletions LICENSE

This file was deleted.

42 changes: 42 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Copyright jQuery Foundation and other contributors, https://jquery.org/

This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history
available at https://github.com/jquery/PointerEvents

The following license applies to all parts of this software except as
documented below:

====

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

====

Copyright and related rights for sample code are waived via CC0. Sample
code is defined as all source code contained within the samples directory.

CC0: http://creativecommons.org/publicdomain/zero/1.0/

====

All files located in the node_modules directory are externally maintained
libraries used by this software which have their own licenses; we recommend
you read them, as their terms may differ from the terms above.
23 changes: 0 additions & 23 deletions PATENTS

This file was deleted.

4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# THIS REPO IS DEPRECATED

Due to a [number of reasons](https://groups.google.com/forum/#!topic/polymer-dev/ba4aDyOozm8), Polymer has moved on to using [polymer-gestures](https://github.com/Polymer/polymer-gestures), which is scoped to solving the gesture needs of Polymer elements more directly.

## Learn the tech

### Why Pointer Events?
Expand Down
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,18 @@
},
"repository": {
"type": "git",
"url": "git://github.com/Polymer/PointerEvents.git"
"url": "git://github.com/jquery/PointerEvents.git"
},
"author": "Polymer Authors",
"license": "BSD",
"author": {
"name": "jQuery Foundation and other contributors",
"url": "https://github.com/jquery/PointerEvents/blob/master/AUTHORS.txt"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/jquery/PointerEvents/blob/master/LICENSE.txt"
}
],
"readmeFilename": "README.md",
"gitHead": "fc4d102296f7c8c5ed23d2dc8988920e685d050f"
}
9 changes: 5 additions & 4 deletions pointerevents.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
/*!
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/

(function() {
var thisFile = 'pointerevents.js';
var scopeName = 'PointerEventsPolyfill';
Expand Down
5 changes: 0 additions & 5 deletions samples/paint/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<!doctype html>
<!--
Copyright 2012-2014 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<head>
<meta name="viewport" content="width=device-width">
<meta charset="UTF-8">
Expand Down
7 changes: 0 additions & 7 deletions samples/paint/paint.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* @license
* Copyright 2014 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

// shim layer with setTimeout fallback
window.requestAnimFrame = (function(){
return window.requestAnimationFrame ||
Expand Down
5 changes: 0 additions & 5 deletions samples/scroller/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<!DOCTYPE html>
<!--
Copyright 2012-2014 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<html>
<head>
<meta charset="UTF-8">
Expand Down
5 changes: 0 additions & 5 deletions samples/shadow/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<!DOCTYPE html>
<!--
Copyright 2012-2014 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<script src="../../pointerevents.js"></script>
<style>
#host {
Expand Down
5 changes: 0 additions & 5 deletions samples/simple/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<!DOCTYPE html>
<!--
Copyright 2012-2014 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<html>
<head>
<meta charset="UTF-8">
Expand Down
5 changes: 0 additions & 5 deletions samples/spaceship/js/BulletSebs.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/** @license
* Copyright 2012-2014 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
Bullet = function(x, y, angle) {

var speed = 10;
Expand Down
5 changes: 0 additions & 5 deletions samples/spaceship/js/ShipMovingTouch.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/** @license
* Copyright 2012-2014 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
ShipMoving = function(x,y) {


Expand Down
6 changes: 0 additions & 6 deletions samples/spaceship/js/Vector2.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/** @license
* Copyright 2012-2014 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

var Vector2 = function (x,y) {

this.x= x || 0;
Expand Down
5 changes: 0 additions & 5 deletions samples/tracker/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<!doctype html>
<!--
Copyright 2012-2014 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<html lang=en>
<head>
<meta charset=utf-8>
Expand Down
6 changes: 0 additions & 6 deletions src/PointerEvent.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

/**
* This is the constructor for new PointerEvents.
*
Expand Down
6 changes: 0 additions & 6 deletions src/boot.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

(function(scope) {
scope = scope || {};
scope.external = scope.external || {};
Expand Down
6 changes: 0 additions & 6 deletions src/capture.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

(function(scope) {
var dispatcher = scope.dispatcher;
var n = window.navigator;
Expand Down
6 changes: 0 additions & 6 deletions src/dispatcher.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

(function(scope) {
var CLONE_PROPS = [
// MouseEvent
Expand Down
6 changes: 0 additions & 6 deletions src/installer.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

/**
* This module uses Mutation Observers to dynamically adjust which nodes will
* generate Pointer Events.
Expand Down
6 changes: 0 additions & 6 deletions src/mouse.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

(function (scope) {
var dispatcher = scope.dispatcher;
var pointermap = dispatcher.pointermap;
Expand Down
6 changes: 0 additions & 6 deletions src/ms.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

(function(scope) {
var dispatcher = scope.dispatcher;
var pointermap = dispatcher.pointermap;
Expand Down
6 changes: 0 additions & 6 deletions src/platform-events.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

/**
* This module contains the handlers for native platform events.
* From here, the dispatcher is called to create unified pointer events.
Expand Down
6 changes: 0 additions & 6 deletions src/pointermap.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

/**
* This module implements an map of pointer states
*/
Expand Down
5 changes: 0 additions & 5 deletions src/touch-action.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
(function() {
function shadowSelector(v) {
return 'body /shadow-deep/ ' + selector(v);
Expand Down
6 changes: 0 additions & 6 deletions src/touch.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

(function(scope) {
var dispatcher = scope.dispatcher;
var captureInfo = dispatcher.captureInfo;
Expand Down
6 changes: 0 additions & 6 deletions test/capture.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

suite('Pointer Capture', function() {
var set = function(el, id) {
el.setPointerCapture(id || 1);
Expand Down
6 changes: 0 additions & 6 deletions test/constructor.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

suite('Constructor', function() {

test('PointerEvents have the required properties', function() {
Expand Down
Loading