0.1.5 • Published 7 years ago
soda-web-sdk v0.1.5
Overview
The SODA Web SDK provides an (partial) implementation of the API provided by the native SODA SDK, which allows running bubble though web browsers.
Usage
Simple usage (no build systems)
Simply include public/assets/SODAWebSDK.min.js in your project
With build systems (systemjs, webpack etc.)
- Add the following to your
pacakge.json
file:
"soda-web-sdk": "git://github.com/startappdev/soda-web-sdk.git#master"
- Add
require('soda-web-sdk');
to your entry file. All functions will be avaialble though the BubbleAPI global variable, which allows the Bubble SDK to function properly.
Unimplemented methods will throw an error so use
try {} catch {}
whenever possible to ensure stability.
Development
All the code resides in src/SoDAWebSDK.class.js
To test how it works - make your changes and run npm run dev-build
.
This will create a SODAWebSDK.js which can then be required from the index.html
file and tested.
To deploy use npm run build
and push it to master branch.