Browse Source

kernel: Remove unused field.

Herbert Vojčík 1 month 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 () {
123 123
         st.packages = {};
124 124
 
125 125
         /* Add a package load descriptor to the system */
126
-
127
-        st.addPackage = function (pkgName, properties) {
128
-            if (!pkgName) return null;
129
-            return st.packages[pkgName] = {
130
-                // TODO remove .pkgName, have .name
131
-                pkgName: pkgName,
132
-                properties: properties
133
-            };
126
+        st.addPackage = function (name, properties) {
127
+            if (!name) return null;
128
+            return st.packages[name] = {properties: properties};
134 129
         };
135 130
     }
136 131