Add NPM and CommonJS compatibility.

This commit is contained in:
Hyunje Alex Jun 2015-02-11 16:55:57 +00:00
parent db2b282431
commit 68d468c465
2 changed files with 7 additions and 1 deletions

View File

@ -9,7 +9,7 @@
"email": "me@noraesae.net"
}
],
"main": "out/js/perfect-scrollbar.js",
"main": "src/js/main.js",
"repository": {
"type": "git",
"url": "https://github.com/noraesae/perfect-scrollbar"

6
src/js/main.js Normal file
View File

@ -0,0 +1,6 @@
/* Copyright (c) 2015 Hyunje Alex Jun and other contributors
* Licensed under the MIT License
*/
'use strict';
module.exports = require('./plugin/ps');