Permalink
Browse files

[ fix two small stupid mistakes in browser.sibilant ]

  • Loading branch information...
1 parent b89cbbb commit e47f26de728e305c3655b10ccf83efc8a1d0ae27 Jacob Rothstein committed Dec 20, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 lib/browser.js
  2. +2 −2 src/browser.sibilant
View
@@ -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) {
View
@@ -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)

0 comments on commit e47f26d

Please sign in to comment.