-
Notifications
You must be signed in to change notification settings - Fork 123
List of deprecations
Herbert Vojčík edited this page Jul 25, 2015
·
19 revisions
List of deprecations that are pending to remove in 0.17 version follows. To see list of deprecations removed in 0.14, scroll down to "0.14 deprecations".
Deprecation that are already removed are checked.
Note: This list is work in progress. Add a deprecation which is still missing in it.
- Use amber-dev/lib/NodeTestRunner.st/.js instead
- Use
r.js
/r.js.cmd
orrequirejs
grunt task (you can start with existing one for the test runner inamber init
-generated project).
- Use
r.js
/r.js.cmd
orrequirejs
grunt task (you can start with existing one for the test runner inamber init
-generated project).
- Include
Wrappers-JQuery
package fromamber-contrib-jquery
bower package and useJQuery current ajax: opt
, or use any other AJAX library / HTTP client library of your own choice. You may also change your code to useXMLHttpInterface
API and get an instance of one withPlatform newXhr
.
- Use
Terminal
orPlatform
. This class was never meant to use directly.
- Use
Terminal alert: anObject
- Use
Terminal confirm: anObject
- Use
Terminal prompt: anObject
- Use
Terminal prompt: anObject default: anotherObject
- Use
Platform globals
- Use
Smalltalk existsJsGlobal: aString
- Use
amber.globals.GlobalFoo
.
- Use
amber.initialize({"transport.defaultAmdNamespace": "foo"});
.
- Use
amber.core
.
- Use
.method({..., protocol: "foo", ...})
.
- Use
.st2js(...)
.
- Use
.js2st(...)
.
- Use
.api
.
- Use
$core
/$globals
/$recv
.
- Use "amber/boot" and use
boot.exportedFoo
.
- Just do not map it and
.st
is stored to same location as.js
. Retained, not recommended.
- Include requirejs as project dependency via bower / npm / ... .
- Use
announcementSubscription valuable
.
- Use
announcementSubscription valuable: foo
.
- Use
aCollection anySatisfy: [ :each | ... ]
.
- Use
aString asJavaScriptMethodName
- Use
aString asJavaScriptPropertyName
- Use
Smalltalk globals at:
etc.
- Use
Smalltalk
.
- Use
Smalltalk core
.
- Use
Smalltalk createPackage: 'Foo'
. No way to set properties.
- Use
Smalltalk
. Retained to comply with use ofcurrent
as singleton instantiator elsewhere.
- Use
aMethodContext locals
.
- Use
[code] tryCatch: [ handler ]
.