Commit Graph

72 Commits (838b110e9ea2e109f690b7c8aa82929a174e27d2)

Author SHA1 Message Date
Ariya Hidayat 838b110e9e direction.js: Port to use WebPage object. 2011-05-25 14:10:35 -07:00
Ariya Hidayat a1f0691311 loadspeed.js: Port to use WebPage object. 2011-05-25 14:04:30 -07:00
Ariya Hidayat a4b540ef9e Merge branch 'master' of github.com:ariya/phantomjs 2011-05-25 10:58:26 -07:00
Ariya Hidayat 041e827447 Port color wheel example to use WebPage object. 2011-05-25 10:55:25 -07:00
Ismael Celis f204a3386e Example: Array.prototype.forEachWebPage() for easy loading and processing of multiple URLs in Phantom.js 2011-05-19 16:25:26 +01:00
Roejames12 2345087b21 Fixed issue 106 2011-05-16 23:25:47 -07:00
rgieseke 09519dab6c Use sencha account in follow example. 2011-05-11 16:57:52 +02:00
rgieseke c585107e38 Display tweet index in CoffeeScript example. 2011-05-11 16:52:57 +02:00
rgieseke cd9e3d9647 Use sencha twitter account. 2011-05-11 16:47:55 +02:00
rgieseke 4e0126a803 Use window as recommended in CoffeeScript docs. 2011-05-11 11:42:18 +02:00
rgieseke d3845e94ab Use YAML-Style array creation in follow.coffee. 2011-04-25 18:28:26 +02:00
rgieseke 38a6638d2c Fix weather.coffee. Implicit parentheses are until end of line. 2011-04-25 18:26:44 +02:00
rgieseke dfd4c06586 Remove unnecessary semicolons in coffeescript examples. 2011-04-23 19:43:18 +02:00
rgieseke 0a91497075 Loop only through divs, not length and item. 2011-04-23 14:41:19 +02:00
rgieseke 0acb9195b0 Add Coffeescript version of waitfor.js. 2011-04-23 14:38:51 +02:00
rgieseke e32b6ba529 Change meaning of message parameter to show what has happenend. 2011-04-23 13:13:38 +02:00
rgieseke c8043520ee Don't throw error on timeout, use phantom.exit instead. 2011-04-23 13:09:42 +02:00
rgieseke a7713e31da Use shorter default timeout. 2011-04-23 13:05:43 +02:00
rgieseke d4df69b175 Use an existing Twitter account and update name changes in new Twitter. 2011-04-23 13:04:48 +02:00
rgieseke ef899fee17 Use spaces throughout. 2011-04-23 13:00:00 +02:00
rgieseke 239ace5357 Add Coffeescript version of extract.js 2011-04-22 18:07:18 +02:00
rgieseke 34081845a4 Add Coffeescript version of weather.js. 2011-04-22 17:39:53 +02:00
rgieseke 71ef739988 Add Coffeescript version of version.js. 2011-04-22 17:39:52 +02:00
rgieseke 0475c72cea Add Coffeescript version of useragent.js. 2011-04-22 17:39:52 +02:00
rgieseke b2e50a26ce Add Coffeescript version of technews.js. 2011-04-22 17:39:52 +02:00
rgieseke 5d8e00c695 Add Coffeescript version of seasonfood.js. 2011-04-22 17:39:52 +02:00
rgieseke a486b7efa0 Add Coffeescript version of rasterize.js. 2011-04-22 17:39:51 +02:00
rgieseke a7c8008498 Add Coffeescript version of pizza.js. 2011-04-22 17:39:51 +02:00
rgieseke 20f278257e Add Coffeescript version of movies.js. 2011-04-22 17:39:51 +02:00
rgieseke 13a6be70b3 Add Coffeescript version of loadspeed.js. 2011-04-22 17:39:51 +02:00
rgieseke 99658b7f77 Add Coffeescript version of ipgeocode.js. 2011-04-22 17:39:51 +02:00
rgieseke c5101aa3a2 Add Coffeescript version of fibo.js. 2011-04-22 17:39:51 +02:00
rgieseke 94069c43ea Add Coffeescript version of direction.js. 2011-04-22 17:39:51 +02:00
rgieseke fdd1eebe0a Add Coffeescript version of countdown.js. 2011-04-22 17:39:51 +02:00
rgieseke e1317fffbb Add Coffeescript version of colorwheel.js. 2011-04-22 17:39:51 +02:00
rgieseke 3717373bc4 Add Coffeescript version of arguments.js. 2011-04-22 17:39:51 +02:00
Weston Ruter ffd38ad225 Adding extract-text.js example 2011-04-12 22:58:26 -07:00
Ariya Hidayat c1781944c7 Remove unfinished browsermode example. 2011-04-09 23:36:28 -07:00
Ivan De Marino 71e0612ccc Added analysis of the HTTP Reply in the NetworkAccessManager. 2011-04-09 18:26:04 +01:00
Ivan De Marino 6ec8b3b669 New "shim" Network Access Manager, new 'browsermode' example and more.
The new Network Access Manager currently is designed to do just logging:
- logs HTTP Method type
- logs HTTP Destination URL

The new 'browsermode':
It's in "/examples" and make PhantomJS do just a call to "open(url)".
It has a companion shell script to help with the task.

Also, improvement for Message Handler:
messages are now prefixed with ISO Datetime.
2011-04-09 18:22:52 +01:00
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