mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 14:40:23 +03:00
parent
02209027a9
commit
234adb8748
@ -8,12 +8,6 @@ module.exports = {
|
||||
atom.config.observe(`${themeName}.tabCloseButton`, setTabCloseButton);
|
||||
atom.config.observe(`${themeName}.hideDockButtons`, setHideDockButtons);
|
||||
atom.config.observe(`${themeName}.stickyHeaders`, setStickyHeaders);
|
||||
|
||||
// DEPRECATED: This can be removed at some point (added in Atom 1.17/1.18ish)
|
||||
// It removes `layoutMode`
|
||||
if (atom.config.get(`${themeName}.layoutMode`)) {
|
||||
atom.config.unset(`${themeName}.layoutMode`);
|
||||
}
|
||||
},
|
||||
|
||||
deactivate() {
|
||||
|
@ -8,12 +8,6 @@ module.exports = {
|
||||
atom.config.observe(`${themeName}.tabCloseButton`, setTabCloseButton);
|
||||
atom.config.observe(`${themeName}.hideDockButtons`, setHideDockButtons);
|
||||
atom.config.observe(`${themeName}.stickyHeaders`, setStickyHeaders);
|
||||
|
||||
// DEPRECATED: This can be removed at some point (added in Atom 1.17/1.18ish)
|
||||
// It removes `layoutMode`
|
||||
if (atom.config.get(`${themeName}.layoutMode`)) {
|
||||
atom.config.unset(`${themeName}.layoutMode`);
|
||||
}
|
||||
},
|
||||
|
||||
deactivate() {
|
||||
|
@ -249,16 +249,6 @@ module.exports = class AtomApplication extends EventEmitter {
|
||||
|
||||
global.atomApplication = this;
|
||||
|
||||
// DEPRECATED: This can be removed at some point (added in 1.13)
|
||||
// It converts `useCustomTitleBar: true` to `titleBar: "custom"`
|
||||
if (
|
||||
process.platform === 'darwin' &&
|
||||
this.config.get('core.useCustomTitleBar')
|
||||
) {
|
||||
this.config.unset('core.useCustomTitleBar');
|
||||
this.config.set('core.titleBar', 'custom');
|
||||
}
|
||||
|
||||
this.applicationMenu = new ApplicationMenu(
|
||||
this.version,
|
||||
this.autoUpdateManager
|
||||
|
10
vendor/jasmine.js
vendored
10
vendor/jasmine.js
vendored
@ -1190,16 +1190,6 @@ jasmine.Matchers = function(env, actual, spec, opt_isNot) {
|
||||
this.reportWasCalled_ = false;
|
||||
};
|
||||
|
||||
// todo: @deprecated as of Jasmine 0.11, remove soon [xw]
|
||||
jasmine.Matchers.pp = function(str) {
|
||||
throw new Error("jasmine.Matchers.pp() is no longer supported, please use jasmine.pp() instead!");
|
||||
};
|
||||
|
||||
// todo: @deprecated Deprecated as of Jasmine 0.10. Rewrite your custom matchers to return true or false. [xw]
|
||||
jasmine.Matchers.prototype.report = function(result, failing_message, details) {
|
||||
throw new Error("As of jasmine 0.11, custom matchers must be implemented differently -- please see jasmine docs");
|
||||
};
|
||||
|
||||
jasmine.Matchers.wrapInto_ = function(prototype, matchersClass) {
|
||||
for (var methodName in prototype) {
|
||||
if (methodName == 'report') continue;
|
||||
|
Loading…
Reference in New Issue
Block a user