0.0.1 • Published 9 years ago

fis-parser-wheei v0.0.1

Weekly downloads
3
License
-
Repository
-
Last release
9 years ago

wheei template plugin for fis

example config:

fis.config.merge({
    modules : {
        parser : {
            whe:'wheei'
        }
    },
    settings:{
        parser:{
            wheei:{
                func:function(wheei,content){
                    return 'return '+wheei(content,null,{strip:true});
                }
            }
        }
    },
    roadmap:{
        ext : {
            whe:'js'
        },
        path:[
            {
                reg:/\.(js|whe)$/,
                isMod:true,
                isJsLike:true
            }
        ]
    },
    pack:{
        'all.js':[
            '*.js',
            '*.whe'
        ]
    }
});
0.0.1

9 years ago