Browse Source

kernel: Remove unused field.

Herbert Vojčík 9 months ago
parent
commit
d91ad4097b
1 changed files with 3 additions and 8 deletions
  1. 3 8
      support/kernel-fundamentals.js

+ 3 - 8
support/kernel-fundamentals.js

@@ -123,14 +123,9 @@ define(function () {
         st.packages = {};
 
         /* Add a package load descriptor to the system */
-
-        st.addPackage = function (pkgName, properties) {
-            if (!pkgName) return null;
-            return st.packages[pkgName] = {
-                // TODO remove .pkgName, have .name
-                pkgName: pkgName,
-                properties: properties
-            };
+        st.addPackage = function (name, properties) {
+            if (!name) return null;
+            return st.packages[name] = {properties: properties};
         };
     }