paper.js/src/load.js

33 lines
928 B
JavaScript
Raw Normal View History

/*
* Paper.js
*
* This file is part of Paper.js, a JavaScript Vector Graphics Library,
* based on Scriptographer.org and designed to be largely API compatible.
* http://paperjs.org/
* http://scriptographer.org/
*
* Copyright (c) 2011, Juerg Lehni & Jonathan Puckey
* http://lehni.org/ & http://jonathanpuckey.com/
*
* Distributed under the MIT license. See LICENSE file for details.
*
* All rights reserved.
*/
// This file is only used by examples and unit tests, using prepro.js to
// 'preprocess' it on the fly in the browser, avoiding the step of having to
// manually preprocess it after each change.
// Define options for compile-time preprocessing.
var options = {
browser: true,
stats: true,
version: 'dev',
parser: 'acorn',
debug: false
};
// This folder is specified relatively to the lib folder from which prepro.js is
// loaded, and which is referenced as the root.
include('../src/paper.js');