From 1c0fbcd85020e6ac9f562fa93ce3312c3d1fdc67 Mon Sep 17 00:00:00 2001 From: Brian Ingenito <28159742+bingenito@users.noreply.github.com> Date: Fri, 9 Apr 2021 08:37:13 -0400 Subject: [PATCH] Remove decommissioned gitpitch --- README.md | 1 - pitch/PITCHME.md | 63 ------------------------------------------- pitch/PITCHME.yaml | 3 --- pitch/pitch-theme.css | 12 --------- 4 files changed, 79 deletions(-) delete mode 100644 pitch/PITCHME.md delete mode 100644 pitch/PITCHME.yaml delete mode 100644 pitch/pitch-theme.css diff --git a/README.md b/README.md index c213b4f8e..ebed8a450 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ [![npm version](https://badge.fury.io/js/%40morgan-stanley%2Fdesktopjs.svg)](https://www.npmjs.com/package/@morgan-stanley/desktopjs) [![Build Status](https://travis-ci.com/MorganStanley/desktopJS.svg?branch=main)](https://travis-ci.com/MorganStanley/desktopJS?branch=main) [![codecov](https://codecov.io/gh/MorganStanley/desktopJS/branch/main/graph/badge.svg)](https://codecov.io/gh/MorganStanley/desktopJS) -[![GitPitch](https://gitpitch.com/assets/badge.svg)](https://gitpitch.com/MorganStanley/desktopJS/main?grs=github&t=white&p=pitch) desktopJS is a common API across multiple HTML5 containers. By programming to a common API, applications can target multiple HTML5 containers without change. Detecting diff --git a/pitch/PITCHME.md b/pitch/PITCHME.md deleted file mode 100644 index 07f1f5386..000000000 --- a/pitch/PITCHME.md +++ /dev/null @@ -1,63 +0,0 @@ -
desktopJS
- ---- - -Why web on desktop? - -- Look and Feel - - Not in a browser tab - - Looks like other applications - - Customizable window chrome -- Fine tuned window creation -- Window management - - Docking - - Layouts -- Tray icons -- Shortcut keys -- Notifications - ---- - -Current State: API for each container - -- Electron - -``` -var tray = new Tray(""); -tray.setToolTip("MyApp"); -tray.setContextMenu(Menu.buildFromTemplate({})); -tray.on('click', () => { /* callback */ }); -``` - -- OpenFin - -``` -fin.desktop.Application.getCurrent() - .setTrayIcon("", (clickInfo) => { /* callback */ }); -``` - ---- - -Can we make applications container agnostic? - ---- - -What does desktopJS provide? - -- Write once to a common API and host in any container - - Electron - - OpenFin - - Browser - - Pluggable architecture for your own -- Avoid lock-in -- Target one container internally and another externally - ---- - -desktopJS: Single API for any container - -``` -container.addTrayIcon( - {icon: 'favicon.ico', text: 'MyApp' }, - (clickInfo) => { /* callback */ }); -``` \ No newline at end of file diff --git a/pitch/PITCHME.yaml b/pitch/PITCHME.yaml deleted file mode 100644 index 88f75d6c8..000000000 --- a/pitch/PITCHME.yaml +++ /dev/null @@ -1,3 +0,0 @@ -theme : night -theme-override : pitch/pitch-theme.css -mousewheel : true \ No newline at end of file diff --git a/pitch/pitch-theme.css b/pitch/pitch-theme.css deleted file mode 100644 index 9c0dd4dcf..000000000 --- a/pitch/pitch-theme.css +++ /dev/null @@ -1,12 +0,0 @@ -body { - background: #0f8ec7; - background-color: #0f8ec7; } - -.reveal .slides { - text-align: left; -} - -.reveal .slides section>* { - margin-left: 0; - margin-right: 0; -} \ No newline at end of file