Skip to content

Commit 783118e

Browse files
committed
fixing build properties, updating examples
1 parent 405ae3b commit 783118e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

examples/get/get.pde

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import httprocessing.*;
1+
import http.requests.*;
22

33
public void setup()
44
{
@@ -9,4 +9,4 @@ public void setup()
99
get.send();
1010
println("Reponse Content: " + get.getContent());
1111
println("Reponse Content-Length Header: " + get.getHeader("Content-Length"));
12-
}
12+
}

examples/jsonget/jsonget.pde

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import httprocessing.*;
1+
import http.requests.*;
22

33
public void setup()
44
{
@@ -9,7 +9,7 @@ public void setup()
99
get.send(); // program will wait untill the request is completed
1010
println("response: " + get.getContent());
1111

12-
JSONObject response = JSONObject.parse(get.getContent());
12+
JSONObject response = parseJSONObject(get.getContent());
1313
println("status: " + response.getString("status"));
1414
JSONArray boxes = response.getJSONArray("data");
1515
println("boxes: ");

examples/post/post.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import httprocessing.*;
1+
import http.requests.*;
22

33
public void setup()
44
{

resources/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ classpath.libraries.location=${sketchbook.location}/libraries
5959
# (3)
6060
# Set the java version that should be used to compile your library.
6161

62-
java.target.version=1.7
62+
java.target.version=1.6
6363

6464

6565
# Set the description of the Ant build.xml file.

0 commit comments

Comments
 (0)