help-fem
v2.0.3
Published
A Browserify/Node.js client module for the Help.com team's FEM.
Downloads
27
Readme
help-fem.js
A Browserify/Node.js client module for the Help.com team's FEM.
Installation
npm install help-fem
Creating a client.
Creating a client is very similar in style as creating Ampersand/Backbone models, views, etc.
var HelpFem = require(HelpFem);
var FemClient = HelpFem.Client.extend({
// Prototypical methods / properties.
}, {
// Private methods / properties.
});
var femClient = new FemClient({
uri: 'localhost:8080',
namespace: 'my-namespace'
});
Documentation
Check out the documentation on the repo's GitHub page.
examples/basic
To run the basic example, do:
npm install
cd examples/basic
npm install
browserify -o muscle/skeletal.bundle.js muscle/skeletal.js
npm start
- Point your browser to
localhost:8080
.