mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
34 lines
866 B
JavaScript
34 lines
866 B
JavaScript
/*
|
|
* Paper.js - The Swiss Army Knife of Vector Graphics Scripting.
|
|
* http://paperjs.org/
|
|
*
|
|
* Copyright (c) 2011 - 2014, Juerg Lehni & Jonathan Puckey
|
|
* http://scratchdisk.com/ & http://jonathanpuckey.com/
|
|
*
|
|
* Distributed under the MIT license. See LICENSE file for details.
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
// Define default options for browser based compile-time preprocessing.
|
|
// These are also used for building, but some values are overridden
|
|
// (e.g. version, stats).
|
|
|
|
var __options = {
|
|
parser: 'acorn',
|
|
version: '0.9.18',
|
|
environment: 'browser',
|
|
legacy: true,
|
|
stats: true,
|
|
svg: true,
|
|
fatlineClipping: true,
|
|
booleanOperations: true,
|
|
nativeContains: false,
|
|
paperScript: true,
|
|
palette: true,
|
|
debug: false
|
|
};
|
|
|
|
// If this file is loaded in the browser, we're in dev mode through load.js
|
|
if (typeof window === 'object')
|
|
__options.version = 'dev';
|