mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 22:01:58 -05:00
Prebuilt module for commit b2f3b587ec
This commit is contained in:
parent
eefab2c852
commit
56b753f892
5 changed files with 17 additions and 17 deletions
8
dist/docs/assets/js/paper.js
vendored
8
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Mon Feb 1 12:52:50 2016 +0100
|
* Date: Mon Feb 1 12:58:52 2016 +0100
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -12123,7 +12123,7 @@ var Key = new function() {
|
||||||
|
|
||||||
command: {
|
command: {
|
||||||
get: function() {
|
get: function() {
|
||||||
var agent = paper.agent;
|
var agent = paper && paper.agent;
|
||||||
return agent && agent.mac ? this.meta : this.control;
|
return agent && agent.mac ? this.meta : this.control;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12152,7 +12152,7 @@ var Key = new function() {
|
||||||
}
|
}
|
||||||
if (key.length > 1 && (name = Base.camelize(key)) in modifiers) {
|
if (key.length > 1 && (name = Base.camelize(key)) in modifiers) {
|
||||||
modifiers[name] = down;
|
modifiers[name] = down;
|
||||||
var agent = paper.agent;
|
var agent = paper && paper.agent;
|
||||||
if (name === 'meta' && agent && agent.mac) {
|
if (name === 'meta' && agent && agent.mac) {
|
||||||
if (down) {
|
if (down) {
|
||||||
metaFixMap = {};
|
metaFixMap = {};
|
||||||
|
@ -12176,7 +12176,7 @@ var Key = new function() {
|
||||||
DomEvent.add(document, {
|
DomEvent.add(document, {
|
||||||
keydown: function(event) {
|
keydown: function(event) {
|
||||||
var key = getKey(event),
|
var key = getKey(event),
|
||||||
agent = paper.agent;
|
agent = paper && paper.agent;
|
||||||
if (key.length > 1 || agent && (agent.chrome && (event.altKey
|
if (key.length > 1 || agent && (agent.chrome && (event.altKey
|
||||||
|| agent.mac && event.metaKey
|
|| agent.mac && event.metaKey
|
||||||
|| !agent.mac && event.ctrlKey))) {
|
|| !agent.mac && event.ctrlKey))) {
|
||||||
|
|
8
dist/paper-core.js
vendored
8
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Mon Feb 1 12:52:50 2016 +0100
|
* Date: Mon Feb 1 12:58:52 2016 +0100
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -12123,7 +12123,7 @@ var Key = new function() {
|
||||||
|
|
||||||
command: {
|
command: {
|
||||||
get: function() {
|
get: function() {
|
||||||
var agent = paper.agent;
|
var agent = paper && paper.agent;
|
||||||
return agent && agent.mac ? this.meta : this.control;
|
return agent && agent.mac ? this.meta : this.control;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12152,7 +12152,7 @@ var Key = new function() {
|
||||||
}
|
}
|
||||||
if (key.length > 1 && (name = Base.camelize(key)) in modifiers) {
|
if (key.length > 1 && (name = Base.camelize(key)) in modifiers) {
|
||||||
modifiers[name] = down;
|
modifiers[name] = down;
|
||||||
var agent = paper.agent;
|
var agent = paper && paper.agent;
|
||||||
if (name === 'meta' && agent && agent.mac) {
|
if (name === 'meta' && agent && agent.mac) {
|
||||||
if (down) {
|
if (down) {
|
||||||
metaFixMap = {};
|
metaFixMap = {};
|
||||||
|
@ -12176,7 +12176,7 @@ var Key = new function() {
|
||||||
DomEvent.add(document, {
|
DomEvent.add(document, {
|
||||||
keydown: function(event) {
|
keydown: function(event) {
|
||||||
var key = getKey(event),
|
var key = getKey(event),
|
||||||
agent = paper.agent;
|
agent = paper && paper.agent;
|
||||||
if (key.length > 1 || agent && (agent.chrome && (event.altKey
|
if (key.length > 1 || agent && (agent.chrome && (event.altKey
|
||||||
|| agent.mac && event.metaKey
|
|| agent.mac && event.metaKey
|
||||||
|| !agent.mac && event.ctrlKey))) {
|
|| !agent.mac && event.ctrlKey))) {
|
||||||
|
|
4
dist/paper-core.min.js
vendored
4
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
8
dist/paper-full.js
vendored
8
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Mon Feb 1 12:52:50 2016 +0100
|
* Date: Mon Feb 1 12:58:52 2016 +0100
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -12123,7 +12123,7 @@ var Key = new function() {
|
||||||
|
|
||||||
command: {
|
command: {
|
||||||
get: function() {
|
get: function() {
|
||||||
var agent = paper.agent;
|
var agent = paper && paper.agent;
|
||||||
return agent && agent.mac ? this.meta : this.control;
|
return agent && agent.mac ? this.meta : this.control;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12152,7 +12152,7 @@ var Key = new function() {
|
||||||
}
|
}
|
||||||
if (key.length > 1 && (name = Base.camelize(key)) in modifiers) {
|
if (key.length > 1 && (name = Base.camelize(key)) in modifiers) {
|
||||||
modifiers[name] = down;
|
modifiers[name] = down;
|
||||||
var agent = paper.agent;
|
var agent = paper && paper.agent;
|
||||||
if (name === 'meta' && agent && agent.mac) {
|
if (name === 'meta' && agent && agent.mac) {
|
||||||
if (down) {
|
if (down) {
|
||||||
metaFixMap = {};
|
metaFixMap = {};
|
||||||
|
@ -12176,7 +12176,7 @@ var Key = new function() {
|
||||||
DomEvent.add(document, {
|
DomEvent.add(document, {
|
||||||
keydown: function(event) {
|
keydown: function(event) {
|
||||||
var key = getKey(event),
|
var key = getKey(event),
|
||||||
agent = paper.agent;
|
agent = paper && paper.agent;
|
||||||
if (key.length > 1 || agent && (agent.chrome && (event.altKey
|
if (key.length > 1 || agent && (agent.chrome && (event.altKey
|
||||||
|| agent.mac && event.metaKey
|
|| agent.mac && event.metaKey
|
||||||
|| !agent.mac && event.ctrlKey))) {
|
|| !agent.mac && event.ctrlKey))) {
|
||||||
|
|
6
dist/paper-full.min.js
vendored
6
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue