dist/vue-inview.js
function (css) {
  css = css.split('-')
  var result = css[0] === 'float' ? 'cssFloat' : css[0]
  var size = css.length
  var i
  for (i = 0; i < size; i++) {
    if (i > 0) result += css[i].charAt(0).toUpperCase() + css[i].substr(1)
  }
  return result
}
function (css) {
  css = css.split('-')
  var result = css[0] === 'float' ? 'cssFloat' : css[0]
  var size = css.length
  var i
  for (i = 0; i < size; i++) {
    if (i > 0) result += css[i].charAt(0).toUpperCase() + css[i].substr(1)
  }
  return result
}
function ( css ) { css = css . split ( '-' ) var result = css [ 0 ] === 'float' ? 'cssFloat' : css [ 0 ] var size = css . length var i for ( i = 0 ; i < size ; i ++ ) { if ( i > 0 ) result += css [ i ] . charAt ( 0 ) . toUpperCase ( ) + css [ i ] . substr ( 1 ) } return result }
(css → string)
return string
- create javascript stylesheet name
( css → string ) return string - create javascript stylesheet name