You can include the path of the iscroll plugin
in the configuration file where you declare the dependencies and paths for other files.
require.config({
locale: 'en_us',
baseUrl: 'baseUrl',
paths: {
// Paths of the libraries being used
'Iscroll' : 'relative path to the file',
......
...... Other files
},
shim : { // If the library does not support AMD
'Iscroll': {
exports: 'Iscroll'
},
}
});
Now if you want to use that in a specfic Module, just include it
define(['Iscroll', other args], function(Iscroll, other args) {
});