File tree 2 files changed +7
-7
lines changed 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
/// <reference path="blazy.d.ts" />
2
2
3
3
/* Constructor test */
4
- var tester : IBlazyInstance = new Blazy ( {
4
+ var tester : BlazyInstance = new Blazy ( {
5
5
breakpoints : [
6
6
{
7
7
width : 420 ,
Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ declare var Blazy: Blazy;
8
8
9
9
interface Blazy {
10
10
11
- new ( options : IBlazyOptions ) : IBlazyInstance ;
11
+ new ( options : BlazyOptions ) : BlazyInstance ;
12
12
13
13
}
14
14
15
- interface IBlazyOptions {
15
+ interface BlazyOptions {
16
16
17
- breakpoints : IBreakpoint [ ] ;
17
+ breakpoints : Breakpoint [ ] ;
18
18
19
19
container : string ;
20
20
@@ -34,15 +34,15 @@ interface IBlazyOptions {
34
34
35
35
src : string ;
36
36
37
- success : ( ele : Element | HTMLElement | NodeList ) => void ;
37
+ success : ( ele : Element | HTMLElement ) => void ;
38
38
39
39
successClass : string ;
40
40
41
41
validateDelay : number ;
42
42
43
43
}
44
44
45
- interface IBlazyInstance {
45
+ interface BlazyInstance {
46
46
47
47
/**
48
48
* Revalidates document for visible images. Useful if you add images with scripting or ajax.
@@ -62,7 +62,7 @@ interface IBlazyInstance {
62
62
63
63
}
64
64
65
- interface IBreakpoint {
65
+ interface Breakpoint {
66
66
width : number ;
67
67
src : string ;
68
68
}
You can’t perform that action at this time.
0 commit comments