소스 검색

boot.js: _st() returns nil if argument is null

mkroehnert 12 년 전
부모
커밋
e1bb932469
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      js/boot.js

+ 1 - 0
js/boot.js

@@ -792,6 +792,7 @@ var smalltalk = new Smalltalk();
 
 var _st = function(o) {
 	if(typeof o === 'undefined') {return nil}
+	if(null === o) {return nil}
 	if(o.klass) {return o}
 	return smalltalk.JSObjectProxy._on_(o);
 };