Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aurel
jio
Commits
98dce92b
Commit
98dce92b
authored
Mar 24, 2017
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coding style
parent
63b69657
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
dist/nodejs/jio.js
dist/nodejs/jio.js
+4
-7
No files found.
dist/nodejs/jio.js
View file @
98dce92b
/*global global, require */
global
.
URI
=
require
(
"
urijs
"
);
global
.
URI
=
require
(
"
urijs
"
);
global
.
RSVP
=
require
(
'
rsvp
'
);
global
.
RSVP
=
require
(
'
rsvp
'
);
global
.
UriTemplate
=
require
(
"
uritemplate
"
);
global
.
UriTemplate
=
require
(
"
uritemplate
"
);
...
@@ -6,14 +7,12 @@ global.navigator = require('navigator');
...
@@ -6,14 +7,12 @@ global.navigator = require('navigator');
global
.
Rusha
=
require
(
'
rusha
'
);
global
.
Rusha
=
require
(
'
rusha
'
);
global
.
FormData
=
require
(
'
form-data
'
);
global
.
FormData
=
require
(
'
form-data
'
);
global
.
atob
=
require
(
'
atob
'
);
global
.
atob
=
require
(
'
atob
'
);
//global.FileReader = require("html5").FileReader;
//global.Blob = require("html5").Blob;
var
LocalStorage
=
require
(
'
node-localstorage
'
).
LocalStorage
;
var
LocalStorage
=
require
(
'
node-localstorage
'
).
LocalStorage
;
global
.
localStorage
=
new
LocalStorage
(
"
jio
"
);
global
.
localStorage
=
new
LocalStorage
(
"
jio
"
);
global
.
btoa
=
require
(
'
btoa
'
);
global
.
btoa
=
require
(
'
btoa
'
);
global
.
XMLHttpRequest
=
require
(
'
xhr2
'
);
global
.
XMLHttpRequest
=
require
(
'
xhr2
'
);
var
m
ockdoc
=
require
(
"
mockdoc
"
);
var
M
ockdoc
=
require
(
"
mockdoc
"
);
global
.
document
=
new
m
ockdoc
();
global
.
document
=
new
M
ockdoc
();
global
.
sinon
=
require
(
'
sinon
'
);
global
.
sinon
=
require
(
'
sinon
'
);
global
.
StreamBuffers
=
require
(
'
stream-buffers
'
);
global
.
StreamBuffers
=
require
(
'
stream-buffers
'
);
global
.
window
=
global
;
global
.
window
=
global
;
...
@@ -83,7 +82,6 @@ global.HTMLCanvasElement = {};
...
@@ -83,7 +82,6 @@ global.HTMLCanvasElement = {};
return
new
Blob
([
env
.
_html5_weakmap
.
get
(
this
).
data
.
slice
(
start
,
end
)],
{
type
:
contentType
});
return
new
Blob
([
env
.
_html5_weakmap
.
get
(
this
).
data
.
slice
(
start
,
end
)],
{
type
:
contentType
});
};
};
env
.
Blob
=
Blob
;
env
.
Blob
=
Blob
;
global
.
Blob
=
Blob
;
function
FileReader
()
{
EventTarget
.
call
(
this
);
}
function
FileReader
()
{
EventTarget
.
call
(
this
);
}
FileReader
.
prototype
=
Object
.
create
(
EventTarget
.
prototype
);
FileReader
.
prototype
=
Object
.
create
(
EventTarget
.
prototype
);
...
@@ -116,9 +114,8 @@ global.HTMLCanvasElement = {};
...
@@ -116,9 +114,8 @@ global.HTMLCanvasElement = {};
});
});
};
};
env
.
FileReader
=
FileReader
;
env
.
FileReader
=
FileReader
;
global
.
FileReader
=
FileReader
;
}(
this
));
}(
global
));
;
/**
;
/**
* Parse a text request to a json query object tree
* Parse a text request to a json query object tree
*
*
...
...
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