Comparing version 0.9.1 to 0.9.2
@@ -0,0 +0,0 @@ import { Token } from 'phosphor-di'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Container, Token } from 'phosphor-di'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Message } from 'phosphor-messaging'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Token } from 'phosphor-di'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Container } from 'phosphor-di'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Token } from 'phosphor-di'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Container, Token } from 'phosphor-di'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Container } from 'phosphor-di'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { ApplicationShell } from './applicationshell'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Widget } from 'phosphor-widget'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { IType, ServiceRegistry } from './serviceregistry'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Message } from 'phosphor-messaging'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Application } from '../core/application'; |
@@ -26,2 +26,3 @@ /*----------------------------------------------------------------------------- | ||
app.commands.add([ | ||
{ id: 'command-palette:toggle', handler: togglePalette }, | ||
{ id: 'command-palette:activate', handler: activatePalette }, | ||
@@ -44,2 +45,10 @@ { id: 'command-palette:hide', handler: hidePalette } | ||
} | ||
function togglePalette() { | ||
if (widget.isHidden) { | ||
activatePalette(); | ||
} | ||
else { | ||
hidePalette(); | ||
} | ||
} | ||
} |
@@ -0,0 +0,0 @@ export * from './core'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { IDisposable } from 'phosphor-disposable'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { AbstractPaletteModel } from 'phosphor-commandpalette'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { IDisposable } from 'phosphor-disposable'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Token } from 'phosphor-di'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
@@ -0,0 +0,0 @@ import { Token, Container } from 'phosphor-di'; |
@@ -0,0 +0,0 @@ /*----------------------------------------------------------------------------- |
{ | ||
"name": "phosphide", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "Slightly opinionated scaffolding for building plugin-based IDE-style applications.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -0,0 +0,0 @@ phosphide |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
5382
187985