Comparing version 0.9.4 to 0.9.5
@@ -0,0 +0,0 @@ import { ApplicationShell } from './applicationshell'; |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
/*----------------------------------------------------------------------------- | ||
@@ -8,3 +9,2 @@ | Copyright (c) 2014-2016, PhosphorJS Contributors | ||
|----------------------------------------------------------------------------*/ | ||
'use strict'; | ||
var applicationshell_1 = require('./applicationshell'); | ||
@@ -388,3 +388,6 @@ var extensionregistry_1 = require('./extensionregistry'); | ||
Application.prototype.addEventsListeners = function () { | ||
document.addEventListener('keydown', this); | ||
// Keydown events are hooked during the capturing phase | ||
// (vs the bubbling phase) so that keyboard shortcuts can be | ||
// invoked prior reaching editable elements. | ||
document.addEventListener('keydown', this, true); | ||
window.addEventListener('resize', this); | ||
@@ -391,0 +394,0 @@ }; |
@@ -0,0 +0,0 @@ import { Widget } from 'phosphor-widget'; |
@@ -0,1 +1,7 @@ | ||
"use strict"; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
/*----------------------------------------------------------------------------- | ||
@@ -8,8 +14,2 @@ | Copyright (c) 2014-2016, PhosphorJS Contributors | ||
|----------------------------------------------------------------------------*/ | ||
'use strict'; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var arrays = require('phosphor-arrays'); | ||
@@ -52,2 +52,3 @@ var phosphor_boxpanel_1 = require('phosphor-boxpanel'); | ||
// TODO fix these | ||
topPanel.id = 'p-top-panel'; | ||
hsplitPanel.id = 'p-main-split-panel'; | ||
@@ -89,3 +90,2 @@ leftHandler.sideBar.addClass('p-mod-left'); | ||
if (options === void 0) { options = {}; } | ||
// TODO | ||
if (!widget.id) { | ||
@@ -95,2 +95,4 @@ console.error('widgets added to app shell must have unique id property'); | ||
} | ||
// Temporary: widgets are added to the panel in order of insertion. | ||
this._topPanel.addChild(widget); | ||
}; | ||
@@ -97,0 +99,0 @@ /** |
@@ -22,5 +22,7 @@ import { IType, ServiceRegistry } from './serviceregistry'; | ||
* | ||
* The returned promise should resolve when activation is complete. | ||
* If a promise is returned, the promise should resolve when the activation | ||
* is complete. This allows a plugin to perform asynchronous actions (such | ||
* as loading files) during its activation. | ||
*/ | ||
activate: (context: T, ...args: any[]) => Promise<void>; | ||
activate: (context: T, ...args: any[]) => Promise<void> | void; | ||
} | ||
@@ -27,0 +29,0 @@ /** |
@@ -1,9 +0,2 @@ | ||
/*----------------------------------------------------------------------------- | ||
| Copyright (c) 2014-2016, PhosphorJS Contributors | ||
| | ||
| Distributed under the terms of the BSD 3-Clause License. | ||
| | ||
| The full license is in the file LICENSE, distributed with this software. | ||
|----------------------------------------------------------------------------*/ | ||
'use strict'; | ||
"use strict"; | ||
/** | ||
@@ -10,0 +3,0 @@ * A class which manages a registry of extensions. |
@@ -0,0 +0,0 @@ /** |
@@ -8,3 +8,3 @@ /*----------------------------------------------------------------------------- | ||
|----------------------------------------------------------------------------*/ | ||
'use strict'; | ||
"use strict"; | ||
/** | ||
@@ -11,0 +11,0 @@ * A class which manages a registry of service providers. |
@@ -0,0 +0,0 @@ import { Message } from 'phosphor-messaging'; |
@@ -0,1 +1,7 @@ | ||
"use strict"; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
/*----------------------------------------------------------------------------- | ||
@@ -8,8 +14,2 @@ | Copyright (c) 2014-2016, PhosphorJS Contributors | ||
|----------------------------------------------------------------------------*/ | ||
'use strict'; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var arrays = require('phosphor-arrays'); | ||
@@ -16,0 +16,0 @@ var phosphor_domutil_1 = require('phosphor-domutil'); |
@@ -0,0 +0,0 @@ import { Application } from '../core/application'; |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
/*----------------------------------------------------------------------------- | ||
@@ -8,3 +9,2 @@ | Copyright (c) 2014-2016, PhosphorJS Contributors | ||
|----------------------------------------------------------------------------*/ | ||
'use strict'; | ||
var phosphor_commandpalette_1 = require('phosphor-commandpalette'); | ||
@@ -11,0 +11,0 @@ /** |
@@ -0,0 +0,0 @@ import { IDisposable } from 'phosphor-disposable'; |
@@ -0,1 +1,7 @@ | ||
"use strict"; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
/*----------------------------------------------------------------------------- | ||
@@ -8,8 +14,2 @@ | Copyright (c) 2014-2016, PhosphorJS Contributors | ||
|----------------------------------------------------------------------------*/ | ||
'use strict'; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var phosphor_disposable_1 = require('phosphor-disposable'); | ||
@@ -16,0 +16,0 @@ var phosphor_signaling_1 = require('phosphor-signaling'); |
@@ -0,0 +0,0 @@ import { AbstractPaletteModel } from 'phosphor-commandpalette'; |
@@ -0,3 +1,9 @@ | ||
"use strict"; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
/*----------------------------------------------------------------------------- | ||
| Copyright (c) 2014-2015, PhosphorJS Contributors | ||
| Copyright (c) 2014-2016, PhosphorJS Contributors | ||
| | ||
@@ -8,8 +14,2 @@ | Distributed under the terms of the BSD 3-Clause License. | ||
|----------------------------------------------------------------------------*/ | ||
'use strict'; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var phosphor_commandpalette_1 = require('phosphor-commandpalette'); | ||
@@ -16,0 +16,0 @@ var phosphor_disposable_1 = require('phosphor-disposable'); |
@@ -0,0 +0,0 @@ import { IDisposable } from 'phosphor-disposable'; |
@@ -0,3 +1,9 @@ | ||
"use strict"; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
/*----------------------------------------------------------------------------- | ||
| Copyright (c) 2014-2015, PhosphorJS Contributors | ||
| Copyright (c) 2014-2016, PhosphorJS Contributors | ||
| | ||
@@ -8,8 +14,2 @@ | Distributed under the terms of the BSD 3-Clause License. | ||
|----------------------------------------------------------------------------*/ | ||
'use strict'; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var phosphor_disposable_1 = require('phosphor-disposable'); | ||
@@ -16,0 +16,0 @@ var phosphor_keymap_1 = require('phosphor-keymap'); |
{ | ||
"name": "phosphide", | ||
"version": "0.9.4", | ||
"version": "0.9.5", | ||
"description": "Slightly opinionated scaffolding for building plugin-based IDE-style applications.", | ||
@@ -43,3 +43,3 @@ "main": "lib/index.js", | ||
"typedoc": "^0.3.11", | ||
"typescript": "^1.6.2", | ||
"typescript": "^1.8.0", | ||
"webpack": "^1.12.12" | ||
@@ -46,0 +46,0 @@ }, |
@@ -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
117263
22
3200