mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
18 lines
415 B
JavaScript
18 lines
415 B
JavaScript
/*jslint nomen: true*/
|
|
/*global __dirname, module*/
|
|
var createPattern = function (path) {
|
|
"use strict";
|
|
return {pattern: path, included: true, served: true, watched: false};
|
|
};
|
|
|
|
var initWebODF = function (files) {
|
|
"use strict";
|
|
files.unshift(createPattern(__dirname + '/adapter.js'));
|
|
};
|
|
|
|
initWebODF.$inject = ['config.files'];
|
|
|
|
module.exports = {
|
|
'framework:webodf': ['factory', initWebODF]
|
|
};
|