소스 검색

'foo'->'namespace' in deprecation message

Herbert Vojčík 11 년 전
부모
커밋
ed83664e32
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      support/helpers.js

+ 1 - 1
support/helpers.js

@@ -17,7 +17,7 @@ define("amber/helpers", ["amber_vm/smalltalk", "amber_vm/globals", "require"], f
     exports.initialize = function (options) {
         options = options || {};
         if (exports.defaultAmdNamespace) {
-            console.warn("`smalltalk.defaultAmdNamespace = 'foo';` is deprecated. Please use `smalltalk.initialize({defaultAmdNamespace: 'foo'});` instead.");
+            console.warn("`smalltalk.defaultAmdNamespace = 'namespace';` is deprecated. Please use `smalltalk.initialize({defaultAmdNamespace: 'namespace'});` instead.");
             options.defaultAmdNamespace = options.defaultAmdNamespace || exports.defaultAmdNamespace;
         }
         vm.defaultAmdNamespace = options.defaultAmdNamespace || vm.defaultAmdNamespace;