Clean up src directory and move Bootstrap.js into lib.

This commit is contained in:
Jonathan Puckey 2011-02-12 17:59:39 +01:00
parent 1a9b80513f
commit c0e2101c32
32 changed files with 207 additions and 223 deletions

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script> <script>
var canvas, doc; var canvas, doc;
var count = 0; var count = 0;

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script> <script>
window.onload = function() { window.onload = function() {
var canvas = document.getElementById('canvas'); var canvas = document.getElementById('canvas');

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script> <script>
var count = 0; var count = 0;
var doc; var doc;

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script> <script>
window.onload = function() { window.onload = function() {
var canvas = document.getElementById('canvas'); var canvas = document.getElementById('canvas');

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script> <script>
var count = 0; var count = 0;
var doc; var doc;

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script> <script>
var count = 0; var count = 0;
var doc; var doc;

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script> <script>
var count = 0; var count = 0;
var doc; var doc;

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script> <script>
window.onload = function() { window.onload = function() {
var canvas = document.getElementById('canvas'); var canvas = document.getElementById('canvas');

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script> <script>
var count = 0; var count = 0;
var doc; var doc;

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script type="text/javascript" src="../../src/ToolEvent.js"></script> <script type="text/javascript" src="../../src/ToolEvent.js"></script>
<script type="text/javascript" src="../../src/ToolHandler.js"></script> <script type="text/javascript" src="../../src/ToolHandler.js"></script>
<script type="text/javascript" src="../../src/Tool.js"></script> <script type="text/javascript" src="../../src/Tool.js"></script>

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script type="text/javascript" src="../../src/ToolEvent.js"></script> <script type="text/javascript" src="../../src/ToolEvent.js"></script>
<script type="text/javascript" src="../../src/ToolHandler.js"></script> <script type="text/javascript" src="../../src/ToolHandler.js"></script>
<script type="text/javascript" src="../../src/Tool.js"></script> <script type="text/javascript" src="../../src/Tool.js"></script>

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script type="text/javascript" src="../../src/ToolEvent.js"></script> <script type="text/javascript" src="../../src/ToolEvent.js"></script>
<script type="text/javascript" src="../../src/ToolHandler.js"></script> <script type="text/javascript" src="../../src/ToolHandler.js"></script>
<script type="text/javascript" src="../../src/Tool.js"></script> <script type="text/javascript" src="../../src/Tool.js"></script>

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script type="text/javascript" src="../../src/ToolEvent.js"></script> <script type="text/javascript" src="../../src/ToolEvent.js"></script>
<script type="text/javascript" src="../../src/ToolHandler.js"></script> <script type="text/javascript" src="../../src/ToolHandler.js"></script>
<script type="text/javascript" src="../../src/Tool.js"></script> <script type="text/javascript" src="../../src/Tool.js"></script>

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script type="text/javascript" src="../../src/ToolEvent.js"></script> <script type="text/javascript" src="../../src/ToolEvent.js"></script>
<script type="text/javascript" src="../../src/ToolHandler.js"></script> <script type="text/javascript" src="../../src/ToolHandler.js"></script>
<script type="text/javascript" src="../../src/Tool.js"></script> <script type="text/javascript" src="../../src/Tool.js"></script>

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script type="text/javascript" src="../../src/ToolEvent.js"></script> <script type="text/javascript" src="../../src/ToolEvent.js"></script>
<script type="text/javascript" src="../../src/ToolHandler.js"></script> <script type="text/javascript" src="../../src/ToolHandler.js"></script>
<script type="text/javascript" src="../../src/Tool.js"></script> <script type="text/javascript" src="../../src/Tool.js"></script>

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script type="text/javascript" src="../../src/ToolEvent.js"></script> <script type="text/javascript" src="../../src/ToolEvent.js"></script>
<script type="text/javascript" src="../../src/ToolHandler.js"></script> <script type="text/javascript" src="../../src/ToolHandler.js"></script>
<script type="text/javascript" src="../../src/Tool.js"></script> <script type="text/javascript" src="../../src/Tool.js"></script>

View file

@ -4,19 +4,18 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example</title> <title>Example</title>
<script type="text/javascript" src="../../src/Bootstrap.js"></script> <script type="text/javascript" src="../../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../../src/Paper.js"></script> <script type="text/javascript" src="../../src/Paper.js"></script>
<script type="text/javascript" src="../../src/Item.js"></script> <script type="text/javascript" src="../../src/item/Item.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/basic/Point.js"></script>
<script type="text/javascript" src="../../src/Point.js"></script> <script type="text/javascript" src="../../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../../src/Rectangle.js"></script> <script type="text/javascript" src="../../src/basic/Size.js"></script>
<script type="text/javascript" src="../../src/Size.js"></script> <script type="text/javascript" src="../../src/path/Segment.js"></script>
<script type="text/javascript" src="../../src/Segment.js"></script> <script type="text/javascript" src="../../src/path/PathItem.js"></script>
<script type="text/javascript" src="../../src/PathItem.js"></script> <script type="text/javascript" src="../../src/path/Path.js"></script>
<script type="text/javascript" src="../../src/Path.js"></script> <script type="text/javascript" src="../../src/document/Doc.js"></script>
<script type="text/javascript" src="../../src/Doc.js"></script> <script type="text/javascript" src="../../src/item/Layer.js"></script>
<script type="text/javascript" src="../../src/Layer.js"></script> <script type="text/javascript" src="../../src/item/Group.js"></script>
<script type="text/javascript" src="../../src/Group.js"></script>
<script type="text/javascript" src="../../src/ToolEvent.js"></script> <script type="text/javascript" src="../../src/ToolEvent.js"></script>
<script type="text/javascript" src="../../src/ToolHandler.js"></script> <script type="text/javascript" src="../../src/ToolHandler.js"></script>
<script type="text/javascript" src="../../src/Tool.js"></script> <script type="text/javascript" src="../../src/Tool.js"></script>

View file

@ -30,13 +30,14 @@ Segment = Base.extend({
} }
}, },
insert: function() { // TODO:
if(this.segments && this.segments.path) { // insert: function() {
var path = this.segments.path; // if(this.segments && this.segments.path) {
path.checkValid(); // var path = this.segments.path;
// path.checkValid();
} //
}, // }
// },
getPoint: function() { getPoint: function() {
return this.point; return this.point;

View file

@ -4,19 +4,19 @@
<title>Paper.js Tests</title> <title>Paper.js Tests</title>
<link rel="stylesheet" href="lib/qunit/qunit.css" type="text/css" media="screen"> <link rel="stylesheet" href="lib/qunit/qunit.css" type="text/css" media="screen">
<!-- Libraries --> <!-- Libraries -->
<script type="text/javascript" src="../src/Bootstrap.js"></script> <script type="text/javascript" src="../lib/Bootstrap.js"></script>
<script type="text/javascript" src="../src/Paper.js"></script> <script type="text/javascript" src="../src/Paper.js"></script>
<script type="text/javascript" src="../src/Item.js"></script> <script type="text/javascript" src="../src/item/Item.js"></script>
<script type="text/javascript" src="../src/PathItem.js"></script> <script type="text/javascript" src="../src/path/PathItem.js"></script>
<script type="text/javascript" src="../src/Point.js"></script> <script type="text/javascript" src="../src/basic/Point.js"></script>
<script type="text/javascript" src="../src/Rectangle.js"></script> <script type="text/javascript" src="../src/basic/Rectangle.js"></script>
<script type="text/javascript" src="../src/Size.js"></script> <script type="text/javascript" src="../src/basic/Size.js"></script>
<script type="text/javascript" src="../src/Group.js"></script> <script type="text/javascript" src="../src/item/Group.js"></script>
<script type="text/javascript" src="../src/Layer.js"></script> <script type="text/javascript" src="../src/item/Layer.js"></script>
<script type="text/javascript" src="../src/Segment.js"></script> <script type="text/javascript" src="../src/path/Segment.js"></script>
<script type="text/javascript" src="../src/PathItem.js"></script> <script type="text/javascript" src="../src/path/PathItem.js"></script>
<script type="text/javascript" src="../src/Path.js"></script> <script type="text/javascript" src="../src/path/Path.js"></script>
<script type="text/javascript" src="../src/Doc.js"></script> <script type="text/javascript" src="../src/document/Doc.js"></script>
<script type="text/javascript" src="lib/qunit/qunit.js"></script> <script type="text/javascript" src="lib/qunit/qunit.js"></script>
<!-- Test Helpers --> <!-- Test Helpers -->