File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 return new Basil . Storage ( ) . init ( options ) ;
1717 } ;
1818
19- Basil . version = '0.3.0 ' ;
19+ Basil . version = '0.3.1 ' ;
2020
2121 Basil . options = Object . extend ( {
2222 namespace : 'b45i1' ,
255255 } ;
256256 } ;
257257
258+ // browser export
258259 window . Basil = Basil ;
259260
261+ // AMD export
262+ if ( typeof define === 'function' && define . amd ) {
263+ define ( function ( ) {
264+ return Basil ;
265+ } ) ;
266+ // commonjs export
267+ } else if ( typeof module !== 'undefined' && module . exports ) {
268+ module . exports = Basil ;
269+ }
270+
260271} ) ( ) ;
Original file line number Diff line number Diff line change 1616 return new Basil . Storage ( ) . init ( options ) ;
1717 } ;
1818
19- Basil . version = '0.3.0 ' ;
19+ Basil . version = '0.3.1 ' ;
2020
2121 Basil . options = Object . extend ( {
2222 namespace : 'b45i1' ,
255255 } ;
256256 } ;
257257
258+ // browser export
258259 window . Basil = Basil ;
259260
261+ // AMD export
262+ if ( typeof define === 'function' && define . amd ) {
263+ define ( function ( ) {
264+ return Basil ;
265+ } ) ;
266+ // commonjs export
267+ } else if ( typeof module !== 'undefined' && module . exports ) {
268+ module . exports = Basil ;
269+ }
270+
260271} ) ( ) ;
You can’t perform that action at this time.
0 commit comments