This repository has been archived by the owner on Sep 7, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix naming of OpenFin and JavaScript, Reorganise notification template
- Loading branch information
1 parent
d42fc9c
commit 82940cc
Showing
8 changed files
with
37 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
"description": "", | ||
"name": "SSF API Demo Openfin" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"globals": { | ||
"fin": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Symphony API for Openfin | ||
# Symphony API for OpenFin | ||
|
||
This project provides an implementation of the Symphony Desktop Wrapper API Specification for Openfin | ||
This project provides an implementation of the Symphony Desktop Wrapper API Specification for OpenFin | ||
|
||
## Usage | ||
|
||
Add this package to your openfin project: | ||
Add this package to your OpenFin project: | ||
|
||
``` | ||
npm install ssf-desktop-api-openfin --save | ||
``` | ||
|
||
You need to include this code into the project by loading the javascript file directly (as Openfin does not support preloading). | ||
You need to include this code into the project by loading the JavaScript file directly (as OpenFin does not support preloading). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
<h5 id="message">Message</h5> | ||
<script> | ||
function onNotificationMessage(message) { | ||
document.getElementById('message').innerText = message.title; | ||
} | ||
</script> | ||
<style> | ||
html { | ||
border: solid 2px black; | ||
} | ||
</style> | ||
<!DOCTYPE html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title></title> | ||
<style> | ||
html { | ||
border: solid 2px black; | ||
position: fixed; | ||
top: 0px; | ||
left: 0px; | ||
right: 0px; | ||
bottom: 0px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h5 id="message"></h5> | ||
<script> | ||
function onNotificationMessage(message) { | ||
document.getElementById('message').innerText = message.title; | ||
} | ||
</script> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
// Intentionally blank, overridden by openfin to access API | ||
// Intentionally blank, overridden by OpenFin to access API |