Skip to content

Commit 351d75a

Browse files
committed
Merge PR #32 #31, introduction of package.json for npm puplishing
2 parents 19e517d + c8d26fd commit 351d75a

File tree

3 files changed

+66
-24
lines changed

3 files changed

+66
-24
lines changed

basil.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
55
B A S I L . J S
66
Bringing the spirit of the Processing visualization language to Adobe Indesign.
7-
7+
88
License - MIT
99
10-
Core
10+
Core
1111
- Ted Davis http://teddavis.org
1212
- Benedikt Groß http://benedikt-gross.de
1313
- Ludwig Zeller http://ludwigzeller.de
14-
Members
14+
Members
1515
- Philipp Adrian http://www.philippadrian.com/
1616
- be:screen GmbH http://bescreen.de
1717
- Stefan Landsbek http://47nord.de
@@ -25,22 +25,22 @@
2525
basil.js was conceived and is generously supported by
2626
The Visual Communication Institute / The Basel School of Design
2727
Department of the Academy of Art and Design Basel (HGK FHNW)
28-
28+
2929
http://thebaselschoolofdesign.ch
3030
3131
Please note: Big general parts e.g. random() of the basil.js source code are copied
3232
from processing.js by the Processing.js team. We would have had a hard time
3333
to figure all of that out on our own!
34-
34+
3535
Supported Adobe Indesign versions: CS 5, CS 5.5 and CS 6
36-
36+
3737
.--.--.- .-.-......-....--.-- -.... -..---.-.... .-- . .---.- -... -.-..---.-. ..--.-- -.. -
3838
*/
3939

4040
#target "InDesign";
4141

4242
(function(glob, app, undef) {
43-
43+
4444
/**
4545
* @class b
4646
* @static
@@ -52,13 +52,13 @@
5252
* @property VERSION {String}
5353
* @cat Environment
5454
*/
55-
pub.VERSION = "1.09";
55+
pub.VERSION = "1.0.10";
5656

5757
#include "includes/constants.js";
5858
#include "includes/public-vars.js";
5959
#include "includes/private-vars.js";
6060
#include "includes/global-functions.js";
61-
61+
6262
#include "includes/core.js";
6363

6464
#include "includes/structure.js";
@@ -73,6 +73,6 @@
7373
#include "includes/ui.js";
7474

7575
init();
76-
76+
7777
})(this, app);
7878

changelog.txt

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44

55

66
..- --.- ..- -.... -..-- .-..-. -.-..---.-.-....--.-- -....-.... -..-- .-
7-
basil.js 1.09 -
7+
basil.js 1.0.10 -
8+
9+
+ Added package.json definition
10+
* Changed versioning scheme to npm style
11+
12+
..- --.- ..- -.... -..-- .-..-. -.-..---.-.-....--.-- -....-.... -..-- .-
13+
basil.js 1.09 -
814

915
+ Added installer scripts for OS X and Windows
1016
* Added some better error reporting for null objects
@@ -15,7 +21,7 @@ basil.js 1.08 - 11 November 2013
1521

1622
+ Added b.arc() by Ken Frederick, cheers mate!
1723
+ Added b.weekday(), b.timestamp() and b.millisecond()
18-
* Fixed output to progress panel
24+
* Fixed output to progress panel
1925
* Added auto save to MODEHIDDEN
2026
* Added 15s timeout to loadStrings via TCP/IP
2127
* Improved error reporting
@@ -40,7 +46,7 @@ Please note that this release is still experimental.
4046
basil.js 1.05 - 9 October 2013
4147

4248
* Bugfix to b.endShape()
43-
* Bugfix to b.loadString() and b.download(),
49+
* Bugfix to b.loadString() and b.download(),
4450
now supports more than one GET parameter
4551
* changed default anchor to center for transforms with line()
4652
* internal safety improvements
@@ -67,8 +73,8 @@ basil.js 1.04 - 23 September 2013
6773
* Extended loadString() and loadStrings() to handle URLs. Happy GET URL!
6874
see examples/input/loadStringURL.jsx
6975

70-
* all export functions can handle now sub-folders
71-
e.g. exportPNG("swiss/basel/snap.png")
76+
* all export functions can handle now sub-folders
77+
e.g. exportPNG("swiss/basel/snap.png")
7278

7379

7480
..- --.- ..- -.... -..-- .-..-. -.-..---.-.-....--.-- -....-.... -..-- .-
@@ -81,7 +87,7 @@ basil.js 1.03 - 3 July 2013
8187
basil.js 1.02 - 3 June 2013
8288

8389
* fixed a bug with b.constrain()
84-
* added constraints for b.color() and b.fill(), where illegal channel
90+
* added constraints for b.color() and b.fill(), where illegal channel
8591
values would previously produce strange results
8692

8793

@@ -103,27 +109,27 @@ basil.js 1.00 - 28 Feb 2013
103109

104110
First public release!
105111

106-
+ new functions to work conveniently with stories (indesign model of linked
112+
+ new functions to work conveniently with stories (indesign model of linked
107113
content or many textframes), e.g. b.addToStory(), b.storyCount() ...
108114
see: examples/document/story.jsx
109115

110116

111117
..- --.- ..- -.... -..-- .-..-. -.-..---.-.-....--.-- -....-.... -..-- .-
112118
basil.js 0.22 - 25 Feb 2013
113119

114-
+ new computation modes MODESILENT, MODEHIDDEN, MODEVISIBLE.
120+
+ new computation modes MODESILENT, MODEHIDDEN, MODEVISIBLE.
115121
HIDDEN is very handy for working with large files, as the document is
116122
processed completely in background, performance is a lot better.
117-
123+
118124
* Changes for b.go().
119125
You can switch between the computation modes via b.go( b.MODESILENT ),
120-
b.go( b.MODEHIDDEN ) and b.go( b.MODEVISIBLE ). If b.go() is called
126+
b.go( b.MODEHIDDEN ) and b.go( b.MODEVISIBLE ). If b.go() is called
121127
without a paramter, then the default mode MODESILENT is used.
122128

123-
Special thanks to be:screen GmbH for the new computation modes and
129+
Special thanks to be:screen GmbH for the new computation modes and
124130
performance optimization!
125131

126-
+ new functions for creating shapes. you can create arbitrary lines,
132+
+ new functions for creating shapes. you can create arbitrary lines,
127133
bezier curves, polygones with beginShape(), endShape() and vertex()
128134

129135

@@ -136,8 +142,8 @@ basil.js goes semi public with a private beta release
136142
..- --.- ..- -.... -..-- .-..-. -.-..---.-.-....--.-- -....-.... -..-- .-
137143
basil.js pre 0.21 - May to Dec 2012
138144

139-
basil.js is developed over the Summer by Ted Davis, Benedikt Groß,
140-
Stefan Landsbek and Ludwig Zeller.
145+
basil.js is developed over the Summer by Ted Davis, Benedikt Groß,
146+
Stefan Landsbek and Ludwig Zeller.
141147

142148
Special thanks to Stefan Landsbek for the inital code architecture!
143149

package.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "basiljs",
3+
"version": "1.0.10",
4+
"description": "An attempt to port the spirit of the Processing visualization language to Adobe InDesign.",
5+
"main": "basil.js",
6+
"directories": {
7+
"doc": "doc",
8+
"test": "test"
9+
},
10+
"scripts": {
11+
"test": "echo \"Error: no test specified\" && exit 1"
12+
},
13+
"repository": {
14+
"type": "git",
15+
"url": "git+https://github.com/basiljs/basil.js.git"
16+
},
17+
"keywords": [
18+
"Basil.js",
19+
"InDesign",
20+
"Processing"
21+
],
22+
"contributors":[
23+
24+
{"name":"Ted Davis","url": "http://teddavis.org"},
25+
{"name":"Benedikt Groß","url": "http://benedikt-gross.de"},
26+
{"name":"Ludwig Zeller","url": "http://ludwigzeller.de"},
27+
{"name":"Philipp Adrian", "url":"http://www.philippadrian.com/"},
28+
{"name":"be:screen GmbH", "url":"http://bescreen.de"},
29+
{"name":"Stefan Landsbek", "url":"http://47nord.de"},
30+
{"name":"Ken Frederick", "url":"http://kennethfrederick.de/"}],
31+
"license": "MIT",
32+
"bugs": {
33+
"url": "https://github.com/basiljs/basil.js/issues"
34+
},
35+
"homepage": "http://basiljs.ch/"
36+
}

0 commit comments

Comments
 (0)