Skip to content

Babel 6 and Travis

Compare
Choose a tag to compare
@seeden seeden released this 26 Feb 17:35
· 59 commits to master since this release
  • upgraded to babel6
  • travis testing for node 4, 5 and iojs
  • refactored tests and added tests for getScope
  • changed importing to:
import RBAC, { Role, Permission, Storage, Memory, Mongoose } from 'rbac';

if you are using ES5 please use default

var RBAC = require('RBAC').default;
var Role = require('RBAC').Role;