Commit Graph

60 Commits

Author SHA1 Message Date
Lee Dohm
37241a7919 📝 Clean up Config::observe 2014-05-14 21:15:17 -07:00
Kevin Sawicki
27fe5b784c 📝 Use package instead of plugin in example 2014-04-17 13:24:34 -07:00
Kevin Sawicki
9b2901583e 📝 Clean up docs 2014-04-17 13:24:34 -07:00
Kevin Sawicki
408665d7d2 Add Config::isDefault(keyPath) 2014-04-17 13:24:34 -07:00
Kevin Sawicki
6ec58e1163 Rename value var to defaultValue 2014-04-17 13:24:34 -07:00
Kevin Sawicki
35d268fcf8 Use _.isEqual when comparing value to default 2014-04-17 13:24:34 -07:00
Kevin Sawicki
20c3ca21e3 Add Config::getDefault(keyPath) 2014-04-17 13:24:34 -07:00
Kevin Sawicki
f153cbb41f Don't call Config::save when setting defaults
Instead just emit an updated event, saving is not needed
because only the defaults are changing.
2014-04-03 11:00:45 -07:00
Kevin Sawicki
dda412d5ec Add window:reset-font-size command 2014-02-11 15:40:12 -08:00
Kevin Sawicki
5ca0864753 📝 Use ## for headings 2014-02-06 11:05:41 -08:00
Kevin Sawicki
ee3d928b5b Set ivars in constructor 2014-02-06 11:05:20 -08:00
Kevin Sawicki
b1b541f903 📝 doc return value of Config.observe 2014-02-06 11:02:10 -08:00
Kevin Sawicki
cee0b951fb Remove empty Private: comments 2014-02-06 10:11:32 -08:00
Kevin Sawicki
932a792289 Remove Private: prefix 2014-02-06 10:02:53 -08:00
Kevin Sawicki
ece269f158 📝 Consistently mention what classes have global instances 2014-02-04 10:06:37 -08:00
Kevin Sawicki
905f628b79 Add command to open user config in an editor 2014-01-20 10:37:13 -08:00
Kevin Sawicki
34f71a2623 Observe editor.tabLength config in TokenizedBuffer
Closes #1224
2013-12-07 11:43:48 -08:00
Kevin Sawicki
f55a200591 Return emissary subscription directly 2013-11-18 18:41:43 -08:00
Kevin Sawicki
d4b5303983 Remove remaining package paths from Config class 2013-11-11 10:33:09 -08:00
Kevin Sawicki
0db23c3e96 🔥 config.bundledMenusDirPath 2013-11-11 10:33:09 -08:00
Kevin Sawicki
0b78450917 🔥 config.bundledKeymapsDirPath 2013-11-11 10:33:09 -08:00
Kevin Sawicki
4b15b98bdd Set RootView/Editor config defaults from startEditorWindow 2013-11-11 10:32:52 -08:00
Kevin Sawicki
572157124e Move storage dir path to Atom 2013-11-11 10:32:17 -08:00
Kevin Sawicki
78617e31bc 💉 resource path into LessCompileCache 2013-11-11 09:20:48 -08:00
Kevin Sawicki
5756ec45ba Add Config::toggle 2013-11-11 09:06:33 -08:00
Kevin Sawicki
d8766b9aba Use makeTreeSync 2013-11-01 08:46:03 -07:00
Kevin Sawicki
ebb7a2637a Upgrade to fs-plus@0.3.0 2013-11-01 08:46:03 -07:00
Kevin Sawicki
83dcf79bcf Use fs-plus 2013-11-01 08:46:02 -07:00
Kevin Sawicki
91436bec25 Add config.unshiftAtKeyPath helper 2013-10-29 13:31:42 -07:00
Kevin Sawicki
feff67457d 🚱 Include namespace when canceling subscription
Emissary does not clear our namespace listeners when calling off
with only the event name and the handler.
2013-10-24 18:45:00 -07:00
Ben Ogle
e8b50755cb Add config.unobserve() 2013-10-22 15:06:54 -07:00
Ben Ogle
dd3b20f7de Pass previous value to the callback in config.observe() 2013-10-22 15:06:54 -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
33cf5dda15 Merge branch 'master' into menu-api
Conflicts:
	src/atom.coffee
	src/config.coffee
2013-10-08 15:49:55 -07:00
Kevin Sawicki
f8e61f5c48 Add missing @ before configDirPath 2013-10-07 16:12:00 -07:00
Kevin Sawicki
0033c9659f 💉 directory dependencies into Config 2013-10-07 16:12:00 -07:00
Kevin Sawicki
722be2267d Add getter for config directory path 2013-10-07 16:11:59 -07:00
Matt Colyer
73796a27e5 📝 Access config via atom.config not global.config 2013-10-04 12:28:42 -07:00
Matt Colyer
32101c57bf Load core menus from a file 2013-10-04 12:28:19 -07:00
Kevin Sawicki
63b79a1d04 Bring back userPackageDirPaths for backwards-compatibility 2013-10-02 13:40:35 -07:00
Kevin Sawicki
8150263f52 Initialize paths in constructor
Previously this was done at eval time which
required globals to be set before the class could
be required.
2013-10-02 13:40:33 -07:00
Kevin Sawicki
6f6daf6db0 Use relative paths for requires 2013-09-20 10:02:21 -07:00
Kevin Sawicki
41fc4f7fe6 Use relative require paths in src/ files 2013-09-20 10:02:20 -07:00
Kevin Sawicki
46b0c8087e Remove bootstrap from LESS search path 2013-09-16 16:32:21 -07:00
Kevin Sawicki
bb479f47d9 Put vendor/bootstrap/less instead of vendor/ on less search path 2013-09-16 16:16:05 -07:00
Kevin Sawicki
a234ed96bd Remove themes paths from config
Themes are now co-located with packages
2013-09-16 08:34:03 -07:00