UNPKG
decojs
Version:
latest (0.9.1)
0.9.1
0.9.0
0.8.1
0.8.0
0.7.1
0.7.0
0.6.1
0.6.0
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
Scalable frontend architecture
github.com/decojs/DecoJS
decojs/DecoJS
decojs
/
Specs
/
Mocks
/
PageLoaderMock.js
15 lines
(9 loc)
•
223 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
define
([ ],
function
(
){
function
PageLoader
(
){ }
PageLoader
.
prototype
.
loadPage
=
PageLoader
.
loadPageSpy
= sinon.
stub
();
PageLoader
.
prototype
.
abort
=
PageLoader
.
abortSpy
= sinon.
spy
();
return
PageLoader
; });