瀏覽代碼

New timing of 4-arg addClass deprecation.

Herby Vojčík 4 年之前
父節點
當前提交
bbb9220d39
共有 2 個文件被更改,包括 13 次插入1 次删除
  1. 12 0
      CHANGELOG
  2. 1 1
      lang/base/kernel-language.js

+ 12 - 0
CHANGELOG

@@ -1,3 +1,15 @@
+? May 2020 - Release 0.29.2
+===================================
+
+* Change to JS format, not breaking
+  * Move to 3-arg addClass plus setSlots was planned in 2019, but forgotten.
+  * Thus, it is loadable in older Amber versions for more than a year.
+  * The move to 3-arg addClass plus setSlots was made now.
+* API renames / additions moving further from ivars to slots.
+
+Commits: https://lolg.it/amber/amber/commits/0.29.2.
+
+
 8 May 2020 - Release 0.29.1
 ===================================
 

+ 1 - 1
lang/base/kernel-language.js

@@ -409,7 +409,7 @@ define(['./junk-drawer'], function ($goodies) {
              A Package is lazily created if one with given name does not exist. */
 
             st.addClass = function (className, superclass, category) {
-                // TODO remove, backward compatibility
+                // TODO remove, backward compatibility (note: only deprecated as of this note)
                 if (arguments[3]) {
                     var added = st.addClass(className, superclass, arguments[3]);
                     setSlots(added, category);