Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(delay) {
this.events = []
this.ranEvents = []
this.delay = delay
this.isRunning = false
this.emitter = new Emitter()
}
constructor(props) {
super(props);
this.emitter = new Emitter();
this.title = 'PR #18705';
this.hasTerminatedPendingState = false;
}
constructor() {
this.emitter = new Emitter();
this.value = undefined;
}
constructor() {
this.emitter = new Emitter();
this.listenerCounts = {};
this.listenerCountChanges = {};
}
constructor({ project, commands, stateStore }) {
this.stateStore = stateStore;
this.emitter = new Emitter();
this.projects = [];
this.disposables = new CompositeDisposable();
this.disposables.add(
commands.add(
'atom-workspace',
{ 'application:clear-project-history': this.clearProjects.bind(this) },
false
)
);
this.disposables.add(
project.onDidChangePaths(projectPaths => this.addProject(projectPaths))
);
}
constructor(props) {
super(props);
this.subscriptions = new CompositeDisposable();
this.panel = null;
this.didCloseItem = false;
this.domNode = document.createElement('div');
this.domNode.className = 'react-atom-panel';
}
constructor(props) {
super(props);
this.subscriptions = new CompositeDisposable();
this.dockItem = null;
this.didCloseItem = false;
if (props.stubItem) {
this.domNode = this.props.stubItem.getElement();
} else {
this.domNode = document.createElement('div');
this.domNode.className = 'react-atom-dockitem';
}
}
constructor(name, props = {}, uri) {
this.emitter = new Emitter();
this.subscriptions = new CompositeDisposable();
this.name = name;
this.props = props;
this.uri = uri;
this.key = ++key;
this.element = document.createElement('div');
this.element.classList.add(`github-StubItem-${name}`);
this.realItem = null;
this.realItemPromise = new Promise(res => {
this.resolveRealItemPromise = res;
});
}
constructor(props, context) {
super(props, context);
this.state = {openEditors: this.props.workspace.getTextEditors()};
this.subscriptions = new CompositeDisposable();
}
constructor(props, context) {
super(props, context);
this.subscriptions = new CompositeDisposable();
this.state = {openEditors: this.props.workspace.getTextEditors()};
}