This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Polymer/master
6/17 master -> stable
- Loading branch information
Showing
12 changed files
with
60 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[submodule "src/PointerEvents"] | ||
path = src/PointerEvents | ||
url = https://github.com/Polymer/PointerEvents.git | ||
[submodule "buildbot"] | ||
path = buildbot | ||
url = git://github.com/Polymer/buildbot.git | ||
[submodule "tools"] | ||
path = tools | ||
url = git://github.com/Polymer/tools.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule buildbot
deleted from
3a4761
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* 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. | ||
*/ | ||
/** | ||
* @module PointerGestures | ||
*/ | ||
(function() { | ||
var thisFile = 'pointergestures.js'; | ||
var scopeName = 'PointerGestures'; | ||
var modules = [ | ||
'src/PointerGestureEvent.js', | ||
'src/initialize.js', | ||
'src/sidetable.js', | ||
'src/pointermap.js', | ||
'src/dispatcher.js', | ||
'src/hold.js', | ||
'src/track.js', | ||
'src/flick.js', | ||
'src/tap.js' | ||
]; | ||
|
||
window[scopeName] = { | ||
entryPointName: thisFile, | ||
modules: modules | ||
}; | ||
|
||
var script = document.querySelector('script[src $= "' + thisFile + '"]'); | ||
var src = script.attributes.src.value; | ||
var basePath = src.slice(0, src.indexOf(thisFile)); | ||
|
||
if (!window.PointerEvent) { | ||
document.write('<script src="' + basePath + '../PointerEvents/pointerevents.js"></script>'); | ||
} | ||
|
||
if (!window.Loader) { | ||
var path = basePath + 'tools/loader/loader.js'; | ||
document.write('<script src="' + path + '"></script>'); | ||
} | ||
document.write('<script>Loader.load("' + scopeName + '")</script>'); | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule PointerEvents
deleted from
35423e
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters