Semantic-Org / UI-Checkbox

A checkbox allows a user to select a value from a small set of options, often binary
http://semantic-ui.com/modules/checkbox.html
6 stars 8 forks source link

.checkbox is not a function #2

Open wheredoesyourmindgo opened 8 years ago

wheredoesyourmindgo commented 8 years ago

i can't seem to figure out why I'm getting this error within the browser. I'll point out that I'm using babel and browserify.

import $ from 'jquery';
import Checkbox from 'semantic-ui-checkbox';
$.fn.checkbox = Checkbox;`

$('super-selector').checkbox('check');