fossasia/loklak_webclient

View on GitHub
iframely/lib/plugins/validators/sync/09_app_hml5.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = {

    prepareLink: function(link) {
        // Add 'html5' rel to 'app'.
        if (link.rel.indexOf('app') > -1 && link.rel.indexOf('html5') === -1) {
            link.rel.push('html5');
        }
    }
};