Skip to content

Commit 0763f9b

Browse files
committed
tested indexzero's changes
1 parent 977ba56 commit 0763f9b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example/examples.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Apricot.parse("<p id='test'>A simple <b>test</b> string. <b>Nothing to worry abo
1010
console.log(doc.toHTML);
1111
});
1212

13-
Apricot.parse("That's my <b id='test'>spoon</b> Tyler.", function(err, doc) {
13+
Apricot.parse("That's my <b id='test'>spoon</b> Tyler.", function(err,doc) {
1414
doc.find('b').inner("food");
1515
console.log(doc.toHTML);
1616

example/live.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Apricot = require('apricot').Apricot;
22

3-
Apricot.open("live.html", function(doc) {
3+
Apricot.open("live.html", function(err,doc) {
44

55
doc.find('li:last').each(function(el){
66
console.log(el.outerHTML);

lib/apricot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Apricot.open = function(file, callback, live) {
306306

307307
var fnLoaderHandle = function (err, data) {
308308
if (err) {
309-
callback(err);
309+
callback(err);
310310
}
311311
else {
312312
try {

0 commit comments

Comments
 (0)