File tree 2 files changed +10
-12
lines changed
2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
1
import * as $ from 'jquery'
2
- import {
3
- RRule ,
4
- Options ,
5
- Weekday
6
- } from '../src/index'
2
+
3
+ import { RRule , Weekday , Options } from '../src/index'
4
+
5
+ // Make library accessible to browser debuggers so users can try things out themselves
6
+ // tslint:disable-next-line:no-duplicate-imports
7
+ import * as rruleExports from '../src/index'
8
+ $ . extend ( window , rruleExports )
7
9
8
10
const getDay = ( i : number ) => [
9
11
RRule . MO ,
Original file line number Diff line number Diff line change 16
16
17
17
import RRule from './rrule'
18
18
import RRuleSet from './rruleset'
19
- import { rrulestr } from './rrulestr'
19
+
20
+ export { rrulestr } from './rrulestr'
20
21
export { Frequency , ByWeekday , Options } from './types'
21
22
export { Weekday , WeekdayStr } from './weekday'
22
23
export { RRuleStrOptions } from './rrulestr'
23
24
24
- // =============================================================================
25
- // Export
26
- // =============================================================================
27
-
28
25
export {
29
26
RRule ,
30
- RRuleSet ,
31
- rrulestr
27
+ RRuleSet
32
28
}
33
29
34
30
export default RRule
You can’t perform that action at this time.
0 commit comments