Jump to content

Optimized JavaScript files


Guest Luke

Recommended Posts

Posted

IPB 2.2.0 RC 2 (and future releases) contain a directory called "Development" which contains "javascript_uncompressed".



Woo hoo! Thanks Matt :wub:
Posted

Yay thanks, i was editing the profile_portal.js so I could add a new tab (One that was part of profile.php) and it was pretty hard to find it.



Cant wait for RC2 now :)



you don't need to edit the js file to add a new tab, it has a plugin system like the portal which automatically adds the tab itself you just have to define it the profile conf files.

wondering if maybe we have the script as it was and its optimized on the fly... e.g. summit that removed whitespace and comments etc and cache's it somewhere for global use but keeping the file format is tact. just thinking out loud here not sure how viable an option it is.
Posted

Even if dev versions of the scripts are made available, won't board admins find it harder to edit a giant line (if need be for mods etc.) than a file with normal formatting?

Posted

No, all they need to do is take the dev copy and edit it, then replaced the optimized one with it. They could have it re-optimized if they want to.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...