Rename season variable to CSON for consistency

This commit is contained in:
Nathan Sobo
2014-03-17 11:36:04 -06:00
parent 371820fd59
commit 2eb2aa5bef

View File

@@ -1,14 +1,14 @@
fs = require 'fs-plus'
path = require 'path'
Keymap = require 'atom-keymap'
season = require 'season'
CSON = require 'season'
Keymap::loadBundledKeymaps = ->
@loadKeyBindings(path.join(@resourcePath, 'keymaps'))
@emit('bundled-keymaps-loaded')
Keymap::getUserKeymapPath = ->
if userKeymapPath = season.resolve(path.join(@configDirPath, 'keymap'))
if userKeymapPath = CSON.resolve(path.join(@configDirPath, 'keymap'))
userKeymapPath
else
path.join(@configDirPath, 'keymap.cson')