Remove deprecated code strings (#22952)

Remove deprecated code strings
This commit is contained in:
Zachinquarantine 2021-09-20 11:52:48 -04:00 committed by GitHub
parent 02209027a9
commit 234adb8748
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 32 deletions

View File

@ -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() {

View File

@ -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() {

View File

@ -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
View File

@ -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;