mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
11 lines
264 B
JavaScript
11 lines
264 B
JavaScript
var fs = require('fs')
|
|
|
|
module.exports = fs.readdirSync(__dirname + '/../browser/ace/src-min')
|
|
.filter(function (file) {
|
|
return file.match(/^mode-/)
|
|
})
|
|
.map(function (file) {
|
|
var match = file.match(/^mode-([a-z0-9\_]+).js$/)
|
|
return match[1]
|
|
})
|