Telegram Web, preconfigured for usage in I2P.
http://web.telegram.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
500 B
18 lines
500 B
var requirejsPath, createPattern; |
|
|
|
createPattern = function(path) { |
|
return {pattern: path, included: true, served: true, watched: false}; |
|
}; |
|
|
|
requirejsPath = require('path').dirname(require.resolve('requirejs')) + '/../require.js'; |
|
|
|
var initRequireJs = function(files) { |
|
files.unshift(createPattern(__dirname + '/adapter.js')); |
|
files.unshift(createPattern(requirejsPath)); |
|
}; |
|
|
|
initRequireJs.$inject = ['config.files']; |
|
|
|
module.exports = { |
|
'framework:requirejs': ['factory', initRequireJs] |
|
};
|
|
|