17 Commits

Author SHA1 Message Date
Kevin Sawicki
ff88cd6498 Add 0 load time for no-op ThemePackage::load 2015-04-15 09:27:53 -07:00
Kevin Sawicki
63af011b38 Remove unneeded metadata loading
This is handled by the super class constructor and by the
package manager.
2015-04-15 09:18:02 -07:00
Kevin Sawicki
bf9f0f4597 Show notifications for theme activate errors 2015-04-15 09:18:02 -07:00
Nathan Sobo
7dd67caf57 Remove ‘group’ parameter to addStyleSheet in favor of ‘priority’ 2015-01-07 09:51:42 -07:00
Kevin Sawicki
3f8d9a4c47 Combine AtomPackage and Package 2014-02-17 12:59:03 -08:00
Kevin Sawicki
cec35ed7c8 Use name ivar instead of metadata.name 2014-02-17 11:31:44 -08:00
probablycorey
d415ec9a00 Add custom load and activate method to Theme Package 2014-02-10 13:39:38 -08:00
Kevin Sawicki
81e86c1467 📝 Remove Internal: comment 2014-02-10 11:48:21 -08:00
Kevin Sawicki
0724dd7a7c Remove unused requires 2014-02-10 11:47:07 -08:00
probablycorey
0f68f095f1 Remove load and activate methods from ThemePackage
I assume these were added to speed theme loading, but now that promises
are being used it complicates overriding methods. From my tests removing
these methods and relying on Atom Package's methods added ~2 ms per 
theme.
2014-02-07 11:18:44 -08:00
Kevin Sawicki
91436bec25 Add config.unshiftAtKeyPath helper 2013-10-29 13:31:42 -07:00
Kevin Sawicki
e93d83dcdf Guard against null core.themes 2013-10-29 13:31:41 -07:00
Kevin Sawicki
62f44e64f4 Unshift into array instead of creating new one 2013-10-29 13:31:41 -07:00
Ben Ogle
a37b029ad9 Prepend newly enabled themes, not append 2013-10-22 16:04:55 -07:00
Ben Ogle
73c1fb23da Use more concise method for @metadata settings 2013-10-22 15:06:54 -07:00
Ben Ogle
d5b07088cd Remove loadStylesheets from non-theme pckage activate() 2013-10-22 15:06:53 -07:00
Ben Ogle
56832b11fc Refactor pkg and themeManager -- all themes stored in the pkg manager 2013-10-22 15:06:25 -07:00