Working on making the site more app-like. In doing so, found the Prototype.js-based library, LivePipe. The documentation is poor, but what little I’ve seen, I like.
Now, I’m trying to figure out how much I should “gracefully degrade” or not.
Posted: March 29th, 2010 | Author: jay | Filed under: Code | Tags: ajax, javascript, livepipe, prototype, prototype.js | No Comments »
* Updated: Working thanks to this WP plugin.
Here’s some code as a test:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| require File.dirname(__FILE__) + '/../test_helper.rb'
class FundastacheTest < Test::Unit::TestCase
include Rack::Test::Methods
def app
@app ||= FundAStache::Application
end
def test_home_page_ok
get '/'
assert last_response.ok?
end
def test_404_error
get '/does_not_exist'
assert !last_response.ok?
end
def test_custom_404_error
get '/does_not_exist'
assert last_response.body.include?("what\'cha lookin\' for?")
end
end |
and I want it to look nice. How can we do that with WordPress?
Posted: March 7th, 2010 | Author: admin | Filed under: Code | Tags: Code, GeSHi, javascript, ruby | No Comments »