2.0.1 • Published 10 years ago

migme-surfboard v2.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
10 years ago

Surfboard

Widget to bring the Migme fun to web apps.

Gitter Codeship Travis CI JavaScript Standard Style npm npm GitHub Releases

Surfboard Migbot

Installation

NPM

npm install migme-surfboard

Bower

bower install migme-surfboard

CDN

Replace ${VERSION} with a released version number.

<script src="https://cdn.rawgit.com/migme/surfboard/releases/download/${VERSION}/migme-surfboard.min.js"></script>

Usage

Loading

// ES6
import Surfboard from 'migme-surfboard'

// CommonJS
var Surfboard = require('migme-surfboard')

// AMD
define(['migme-surfboard'], function (Surfboard) {
  // ...
})

Initialization

const widget = new Surfboard()

Development

npm install     # Install dependencies
npm test        # Run tests
gulp browserify # Build
gulp watchify   # Build and automatically rebuild when any file changes

Live Demo

npm i -g http-server
http-server
open http://127.0.0.1:8080