paper.js/src/options.js

35 lines
866 B
JavaScript
Raw Normal View History

/*
* Paper.js - The Swiss Army Knife of Vector Graphics Scripting.
* http://paperjs.org/
*
2014-01-03 19:47:16 -05:00
* 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',
2014-08-16 12:31:53 -04:00
version: '0.9.19',
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';