import { Eval } from './core' ; import { CapivaraInstance } from './core/capivara.instance' ; import { Component , Controller } from './decorators' ; const Capivara = ( function initCapivara ( ctx , aliasName ) { if ( ! ctx [ aliasName ] ) { ctx [ aliasName ] = new CapivaraInstance ( ) ; ctx [ aliasName ] . core = { Eval , Component , Controller , Capivara , } ; } else { console . warn ( "Gee! CapivaraJS tried to load more than once." ) ; } return ctx [ aliasName ] ; } ) ( window , 'capivara' ) ; export { Capivara } ; export * from './decorators' ; export default Capivara ;