Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
30
gaia/apps/wappush/test/unit/mock_parsed_doc.js
Executable file
30
gaia/apps/wappush/test/unit/mock_parsed_doc.js
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
/* -*- Mode: js; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /
|
||||
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
|
||||
|
||||
/* exported MockParsedProvisioningDoc */
|
||||
|
||||
'use strict';
|
||||
|
||||
var MockParsedProvisioningDoc = {
|
||||
_apns: [],
|
||||
|
||||
mSetup: function mwl_setup(apns) {
|
||||
if (apns) {
|
||||
this._apns = apns;
|
||||
}
|
||||
},
|
||||
|
||||
from: function mppd_from(provisioningDoc) {
|
||||
var apns = this._apns;
|
||||
|
||||
return {
|
||||
getApns: function mppd_getApns() {
|
||||
return apns;
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
mTeardown: function mwl_teardown() {
|
||||
this._apns = [];
|
||||
}
|
||||
};
|
||||
Loading…
Reference in a new issue