0.0.1 • Published 9 years ago

fluxible-plugin-loadsdk v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

Flxible plugin for client sdk loading

install

napm install --save fluxible-plugin-loadsdk

Usage

import loadSdkPlugin from 'fluxible-plugin-loadsdk'

app.plug(loadSdkPlugin{
    gapi: {
        name: 'gapi',
        src: 'https://apis.google.com/js/client.js',
        },
    FB: {
        name: 'FB',
        id: 'facebook-jssdk',
        src: 'https://connect.facebook.net/en_US/sdk.js',
        onLoadFunctionName: 'fbAsyncInit',
    },
})
0.0.1

9 years ago