Gabor Torok
6e485df72a
added example for waitFor function
2011-04-04 21:14:02 -07:00
Alessandro Portale
fbb524e629
Issue 17: Make paper size for the PDF export specifiable
...
http://code.google.com/p/phantomjs/issues/detail?id=17
Adding a new phantom property called "paperSize". It takes one of
the two possible dictionary variants:
{ width: '200px', height: '300px', border: '0px' }
{ format: 'A4', orientation: 'portrait', border: '1cm' }
- If no paperSize is defined, the size is defined by the web page
- supported dimension units are: mm, cm, in, px. No unit means px.
- border is optional and defaults to 0.
- supported formats are: A3, A4, A5, Legal, Letter, Tabloid
- orientation (portrait|landscape) is optional and defaults to portrait
I'm considering implementing a short form like:
phantom.paperSize = 'A4';
...needs further investigation.
2011-03-18 10:26:45 +01:00
Ariya Hidayat
28929a3069
follow.coffee: CoffeeScript version of follow.js.
2011-03-12 10:45:56 -08:00
Ariya Hidayat
f32c232cb0
follow.js: Adding lojjic.
2011-03-12 10:20:04 -08:00
Ariya Hidayat
1df1bc9590
follow.js: Find the number of twitter following and followers.
2011-03-10 21:43:37 -08:00
Ariya Hidayat
158362ed16
Start to implement support for CoffeeScript.
2011-03-02 00:59:07 -08:00
Ariya Hidayat
3e60ae6b9b
Show tweets from SenchaInc instead.
2011-03-02 00:59:07 -08:00
Ariya Hidayat
e15834522d
colorwheel.js: Example on using Canvas to produce the color wheel.
2011-02-17 00:38:44 -08:00
Ariya Hidayat
32c5f02f2b
QUnit driver should not print the status multiple times.
...
If the test suite reloads the page over and over again, only one
final message should be displayed. Detect this by adding one more
state to the logic.
2011-01-28 08:43:18 -08:00
Ariya Hidayat
4de99130c5
Add driver for running QUnit test suite.
...
Courtesy of Łukasz Korecki (https://gist.github.com/796548 ).
2011-01-27 22:38:58 -08:00
Ariya Hidayat
7f9e03ffad
Change phantom.arguments to phantom.args.
...
This is explained in
http://code.google.com/p/phantomjs/issues/detail?id=16 :
'arguments' is reserved word.
Reported by: Nicolas Ferrero.
2011-01-14 22:24:47 -08:00
Ariya Hidayat
4113063283
direction.js: Fix the logic and simplify the extraction.
2011-01-02 10:39:50 -08:00
Ariya Hidayat
3a0d0886b6
Provide an API to get PhantomJS version.
2011-01-01 08:29:03 -08:00
Ariya Hidayat
0110913c1f
Fix the logic structure in the weather example.
2010-12-31 22:17:51 -08:00
Ariya Hidayat
04cc4193ca
Change phantom.storage to phantom.state.
2010-12-31 22:09:02 -08:00
Ariya Hidayat
24d433ea13
Remove phantom.log, just use the de-facto console.log for logging.
2010-12-31 20:10:34 -08:00
Ariya Hidayat
a2bec750cd
technews.js: Snap Google News Sci/Tech as image.
2010-12-31 19:35:38 -08:00
Ariya Hidayat
c5de293368
rasterize.js: Rasterize HTML/XML/SVG document to an image.
2010-12-31 18:27:15 -08:00
Ariya Hidayat
a75e67a041
run-jasmine.js: Drive Jasmine-based tests.
2010-12-31 17:05:36 -08:00
Ariya Hidayat
b2d8eca8c4
direction.js: Get driving direction using Google Maps Directions API.
2010-12-30 00:12:25 -08:00
Ariya Hidayat
4df6976427
movies.js: List movies from kids-in-mind.com.
2010-12-28 21:15:36 -08:00
Ariya Hidayat
d528b30ae6
seasonfood.js: List seasonal food from BBC GoodFood.
2010-12-28 20:26:39 -08:00
Ariya Hidayat
d5b905a8ee
ipgeocode.js: JSONP example with IP geocoding.
2010-12-28 00:10:12 -08:00
Ariya Hidayat
bcfcdea810
weather.js: Weather forecast from Google.
2010-12-27 22:40:26 -08:00
Ariya Hidayat
2153e5ebea
fibo.js: Fibonacci sequence
2010-12-27 22:04:04 -08:00
Ariya Hidayat
d8a5c2b7d0
tweets.js: Inevitable example of showing twitter status.
2010-12-26 23:46:50 -08:00
Ariya Hidayat
9d7e4b4156
pizza.js: Fantastico!
2010-12-26 23:32:51 -08:00
Ariya Hidayat
5346072a90
useragent.js: Custom user agent example.
2010-12-26 23:12:31 -08:00
Ariya Hidayat
064ffa84f2
loadspeed.js: Measure page loading time.
2010-12-26 22:48:10 -08:00
Ariya Hidayat
160c4128d8
arguments.js: Dump all arguments passed to the script.
2010-12-26 22:40:07 -08:00
Ariya Hidayat
5c05acd986
countdown.js: Playing the launch center...
2010-12-26 22:23:17 -08:00
Ariya Hidayat
8e74533ec0
hello.js: the simplest PhantomJS example.
2010-12-26 22:15:02 -08:00