Anonymous

User talk:Naï: Difference between revisions

From Elwiki
no edit summary
No edit summary
 
Line 16: Line 16:
:Still, I'm not sure I understand one part: there is a desire to remove the <tabber> extension, and the Tab template substitutes it, but was <tabber> already removed or is the removal still in progress? And wouldn't creating a whole new template call for more expensive functions than just an ID call? - [[User:Naï|Naï]] ([[User talk:Naï|talk]]) 00:37, 3 January 2015 (EST)
:Still, I'm not sure I understand one part: there is a desire to remove the <tabber> extension, and the Tab template substitutes it, but was <tabber> already removed or is the removal still in progress? And wouldn't creating a whole new template call for more expensive functions than just an ID call? - [[User:Naï|Naï]] ([[User talk:Naï|talk]]) 00:37, 3 January 2015 (EST)


* When you asking, there is a desire, and now, it is moved. New template does not call for more expensive function. The problem is that: in Tabber extension, there is not only a simple ID call. It has its own rendering mechanics, and every time you use it, the extension will load Tabber.js once (If you use two tabbers in one page, this will be loaded two times). In this js file, there are lots of if/for statements, which are "expensive". Even if you do not use that function, the script also runs, or at least loaded into your cache.
:: When you asking, there is a desire, and now, it is moved. New template does not call for more expensive function. The problem is that: in Tabber extension, there is not only a simple ID call. It has its own rendering mechanics, and every time you use it, the extension will load Tabber.js once (If you use two tabbers in one page, this will be loaded two times). In this js file, there are lots of if/for statements, which are "expensive". Even if you do not use that function, the script also runs, or at least loaded into your cache.
 
:::I see, I understand. Thank you for clearing it up, I am glad it was moved then owo. -- [[User:Naï|Naï]] ([[User talk:Naï|talk]]) 10:54, 7 January 2015 (EST)
195

edits