You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

atom-web-ui

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atom-web-ui - npm Package Compare versions

Comparing version

to
0.0.23

2

dist/core/atomWebStuff.d.ts

@@ -8,2 +8,4 @@ export declare class AtomTextEditorModel {

constructor(owner: HTMLDivElement);
onDidChange(handler: (event: any) => any): any;
destroy(): void;
setSoftWrapped(arg: boolean): void;

@@ -10,0 +12,0 @@ setPlaceholderText(text: string): void;

@@ -14,2 +14,8 @@ "use strict";

}
AtomTextEditorModel.prototype.onDidChange = function (handler) {
return this.emitter.handlersByEventName['did-change'].push(handler);
};
AtomTextEditorModel.prototype.destroy = function () {
this.emitter.handlersByEventName = {};
};
AtomTextEditorModel.prototype.setSoftWrapped = function (arg) {

@@ -16,0 +22,0 @@ };

@@ -159,1 +159,2 @@ export declare class Workspace {

export declare function getWorkspace(): Workspace;
export declare var textEditors: any;

@@ -765,3 +765,10 @@ "use strict";

exports.getWorkspace = getWorkspace;
exports.textEditors = {
build: function (options) {
return {
element: document.createElement("atom-text-editor")
};
}
};
window.remote = { require: function () { return new Object(); } };
//# sourceMappingURL=atomWrapperWeb.js.map

2

package.json
{
"name": "atom-web-ui",
"version": "0.0.21",
"version": "0.0.23",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "description": "Atom UI port for web",

@@ -25,2 +25,10 @@ export class AtomTextEditorModel {

}
onDidChange(handler: (event: any) => any): any {
return this.emitter.handlersByEventName['did-change'].push(handler);
}
destroy() {
this.emitter.handlersByEventName = {};
}

@@ -27,0 +35,0 @@ setSoftWrapped(arg: boolean) {

@@ -733,2 +733,4 @@ import atomStuff = require('./atomWebStuff');

}
constructor(editorPath: string, id: string = 'ace_editor', resolver?: any, private getSuggestions?: any) {

@@ -1115,3 +1117,11 @@ this.editorPath = editorPath;

export var textEditors: any = {
build: function(options: any) {
return {
element: (<any>document).createElement("atom-text-editor")
};
}
};
(<any>window).remote = {require: () => new Object()};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet