소스 검색

fixed exporter for not escaped selector strings

Nicolas Petton 13 년 전
부모
커밋
7d25a4bc31
4개의 변경된 파일190개의 추가작업 그리고 192개의 파일을 삭제
  1. 0 1
      js/Compiler.deploy.js
  2. 20 21
      js/Compiler.js
  3. 168 168
      js/Kernel.js
  4. 2 2
      st/Compiler.st

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
js/Compiler.deploy.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 20 - 21
js/Compiler.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 168 - 168
js/Kernel.js


+ 2 - 2
st/Compiler.st

@@ -150,9 +150,9 @@ classNameFor: aClass
 exportMethod: aMethod of: aClass on: aStream
 	aStream 
 		nextPutAll: 'smalltalk.addMethod(';lf;
-		nextPutAll: '''', aMethod selector asSelector, ''',';lf;
+		nextPutAll: 'unescape(''', aMethod selector asSelector escaped, '''),';lf;
 		nextPutAll: 'smalltalk.method({';lf;
-		nextPutAll: 'selector: ''', aMethod selector, ''',';lf;
+		nextPutAll: 'selector: unescape(''', aMethod selector escaped, '''),';lf;
 		nextPutAll: 'category: ''', aMethod category, ''',';lf;
 		nextPutAll: 'fn: ', aMethod fn compiledSource, ',';lf;
 		nextPutAll: 'args: ', aMethod arguments asJavascript, ','; lf;

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.