forked from cory/tildefriends
require -> import
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3904 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -31,7 +31,7 @@ function parseResponse(data) {
|
||||
return {body: data};
|
||||
}
|
||||
|
||||
function get(url) {
|
||||
export function get(url) {
|
||||
var parsed = parseUrl(url);
|
||||
return new Promise(function(resolve, reject) {
|
||||
var socket = new Socket();
|
||||
@ -57,5 +57,3 @@ function get(url) {
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
exports.get = get;
|
||||
|
Reference in New Issue
Block a user