Comparison

util/startup.lua @ 8958:b10a37f6f75f

util.startup: Add a comment marking some compat code
author Kim Alvefur <zash@zash.se>
date Sun, 01 Jul 2018 23:22:55 +0200
parent 8882:a420b386a72a
child 9214:8b2b8f1a911f
comparison
equal deleted inserted replaced
8957:21ae6cb20dcf 8958:b10a37f6f75f
282 require "core.modulemanager" 282 require "core.modulemanager"
283 require "core.usermanager" 283 require "core.usermanager"
284 require "core.rostermanager" 284 require "core.rostermanager"
285 require "core.sessionmanager" 285 require "core.sessionmanager"
286 package.loaded['core.componentmanager'] = setmetatable({},{__index=function() 286 package.loaded['core.componentmanager'] = setmetatable({},{__index=function()
287 -- COMPAT which version?
287 log("warn", "componentmanager is deprecated: %s", debug.traceback():match("\n[^\n]*\n[ \t]*([^\n]*)")); 288 log("warn", "componentmanager is deprecated: %s", debug.traceback():match("\n[^\n]*\n[ \t]*([^\n]*)"));
288 return function() end 289 return function() end
289 end}); 290 end});
290 291
291 require "util.array" 292 require "util.array"