Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
SemWeb
libview
Commits
826c49ed5874
Commit
946a3465
authored
Jul 13, 2018
by
Laurent Wouters
Browse files
Cleanup mislabeled modules
parent
85c36d394788
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/background/main.ts
View file @
826c49ed
...
@@ -30,7 +30,7 @@ import {
...
@@ -30,7 +30,7 @@ import {
tryNegotiateData
,
tryNegotiateData
,
MimeInfo
MimeInfo
}
from
"
../common/api
"
;
}
from
"
../common/api
"
;
/// <reference path="./
fallback
.d.ts"/>
/// <reference path="./
register
.d.ts"/>
let
F
=
require
(
"
./register
"
);
let
F
=
require
(
"
./register
"
);
import
"
chrome
"
;
import
"
chrome
"
;
...
...
src/background/
fallback
.d.ts
→
src/background/
register
.d.ts
View file @
826c49ed
...
@@ -18,7 +18,16 @@
...
@@ -18,7 +18,16 @@
* with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
* with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/
******************************************************************************/
/**
* Externalise some regitration to JS because the typescript version is faulty
*/
declare
module
"
register
"
{
declare
module
"
register
"
{
/**
* Registers some navigation events
* @param onBeforeNavigate Event after tab navigation occurred
* @param onCompleted Event before a tab navigation occur
*/
export
function
registerNavigations
(
export
function
registerNavigations
(
onBeforeNavigate
:
any
,
onBeforeNavigate
:
any
,
onCompleted
:
any
onCompleted
:
any
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment