Skip to content

Commit

Permalink
[ fix two small stupid mistakes in browser.sibilant ]
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Rothstein committed Dec 20, 2011
1 parent b89cbbb commit e47f26d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/browser.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(function() {
var sibilant = [ ];;
var sibilant = { };;
var error = (function(str) {
// str:required
throw new Error ((new Error(str)));
throw new Error (str);
});
;
var inspect = (function(item) {
Expand Down
4 changes: 2 additions & 2 deletions src/browser.sibilant
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(scoped
(defvar sibilant [])
(defun error (str) (throw (new (-error str))))
(defvar sibilant {})
(defun error (str) (throw str))
(defun inspect (item) (if item.to-source (item.to-source) (item.to-string)))
(set window 'sibilant sibilant)

Expand Down

0 comments on commit e47f26d

Please sign in to comment.