Merge pull request #28 from hydrabolt/permission

rebuild and prepublish
This commit is contained in:
Amish Shah
2015-10-02 21:38:28 +01:00
16 changed files with 3895 additions and 12 deletions

View File

@@ -44,5 +44,6 @@ module.exports = function (grunt) {
// register at least this one task
grunt.registerTask('default', ['babel']);
grunt.registerTask('web', ['browserify', "uglify"]);
grunt.registerTask('dist', ["babel", "browserify", "uglify"])
};

View File

@@ -1925,4 +1925,4 @@ var Client = (function () {
return Client;
})();
module.exports = Client;
module.exports = Client;

View File

@@ -10,4 +10,4 @@ exports.LOGIN = exports.AUTH + "/login";
exports.LOGOUT = exports.AUTH + "/logout";
exports.USERS = exports.API + "/users";
exports.SERVERS = exports.API + "/guilds";
exports.CHANNELS = exports.API + "/channels";
exports.CHANNELS = exports.API + "/channels";

View File

@@ -18,4 +18,4 @@ var Member = (function (_User) {
}
return Member;
})(User);
})(User);

View File

@@ -68,4 +68,4 @@ var PMChannel = (function () {
return PMChannel;
})();
module.exports = PMChannel;
module.exports = PMChannel;

View File

@@ -45,4 +45,4 @@ var Permission = (function () {
}]);
return Permission;
})();
})();

View File

@@ -98,4 +98,4 @@ var Channel = (function () {
return Channel;
})();
module.exports = Channel;
module.exports = Channel;

View File

@@ -9,4 +9,4 @@ var Discord = {
Client: Client
};
module.exports = Discord;
module.exports = Discord;

View File

@@ -200,4 +200,4 @@ Internal.XHR.setUsername = function (token, avatar, email, newPassword, password
});
};
exports.Internal = Internal;
exports.Internal = Internal;

View File

@@ -32,4 +32,4 @@ var Invite = (function () {
return Invite;
})();
module.exports = Invite;
module.exports = Invite;

View File

@@ -76,4 +76,4 @@ var Message = (function () {
return Message;
})();
module.exports = Message;
module.exports = Message;

View File

@@ -180,4 +180,4 @@ var Server = (function () {
return Server;
})();
module.exports = Server;
module.exports = Server;

View File

@@ -54,4 +54,4 @@ var User = (function () {
return User;
})();
module.exports = User;
module.exports = User;

View File

@@ -4,6 +4,7 @@
"description": "A way to interface with the Discord API",
"main": "./lib/index.js",
"scripts": {
"prepublish" : "grunt dist",
"test": "node ./test/bot.js"
},
"repository": {

3879
web-dist/discord.3.6.3.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long