Commit Graph

26 Commits

Author SHA1 Message Date
Kevin Sawicki
bdd4ac63f4 Watch themes after activation instead of loading 2013-10-29 13:31:41 -07:00
Kevin Sawicki
43dae4e9eb Add helper to get apm path 2013-10-22 15:52:04 -07:00
Ben Ogle
967c04fb19 Clean up theme check in PackageManager with PackageActivators
You can now call `PackageManager.registerPackageActivator` for specific
package types. On `PackageManager.activate` it will call your
`PackageActivator.activatePackages(packages)` with the proper packages.
2013-10-22 15:07:09 -07:00
Ben Ogle
8ac84359b1 Fix docs 2013-10-22 15:06:54 -07:00
Ben Ogle
f2c1ea9b5a Remove log lines 2013-10-22 15:06:54 -07:00
Ben Ogle
7b1b73e8eb Watch the core.disabledPackages config option 2013-10-22 15:06:54 -07:00
Ben Ogle
81e6150fde Return package if its already loaded 2013-10-22 15:06:53 -07:00
Ben Ogle
0b74dfc67a Remove unnecessary lines 2013-10-22 15:06:25 -07:00
Ben Ogle
9f753cd3b9 💄 2013-10-22 15:06:25 -07:00
Ben Ogle
4440210d9a Fix tests 2013-10-22 15:06:25 -07:00
Ben Ogle
56832b11fc Refactor pkg and themeManager -- all themes stored in the pkg manager 2013-10-22 15:06:25 -07:00
Ben Ogle
077cb9ddb7 Add an enableTheme() function to ThemeManager
And use it in the activatePackage() function in PackageManager
2013-10-22 15:04:55 -07:00
Kevin Sawicki
d430aafb7c Remove bundle rename shim 2013-10-22 13:03:27 -07:00
Kevin Sawicki
c1fae082b4 Add shim for hyperlink bundle rename 2013-10-22 12:04:39 -07:00
Kevin Sawicki
40ab5938f2 Convert old bundle names until specs are updated 2013-10-22 11:54:19 -07:00
Kevin Sawicki
216a5e61fd Update underscore-extensions requires 2013-10-15 13:50:16 -07:00
Kevin Sawicki
e5ac73e0db Use includeInto instead of _.extend 2013-10-14 17:28:26 -07:00
Kevin Sawicki
0b0c3229d3 EventEmitter is exported as Emitter 2013-10-14 17:28:26 -07:00
Kevin Sawicki
a0486bc9b0 Use emit instead of trigger 2013-10-14 17:28:26 -07:00
Kevin Sawicki
f9a0e038a5 Use emissary for EventEmitter and Subscriber 2013-10-14 17:28:26 -07:00
Matt Colyer
abd8bd1253 Handle errors in package.json gracefully 2013-10-11 12:49:31 -07:00
Kevin Sawicki
87bfcf5683 💉 dependencies into AtomPackage
Removes use of resourcePath and config globals
2013-10-07 16:11:59 -07:00
Kevin Sawicki
a3559d1289 Call methods through this instead of atom global 2013-10-07 16:11:59 -07:00
Kevin Sawicki
7cae014d09 💄 Initialize ivars in constructor 2013-10-02 13:40:34 -07:00
Kevin Sawicki
ed5dbe983e Trigger event when packages are loaded 2013-10-02 13:40:34 -07:00
Kevin Sawicki
fc3dcd9749 Add PackageManager class accessible from atom.packages 2013-10-02 13:40:33 -07:00