该行的含义是什么?
RewriteRule ^([^.]+)$ $1.html [QSA]
谢谢!
答案 0 :(得分:0)
您可以在此处找到require(['ojs/ojcore', 'knockout', 'jquery', 'appController', 'ojs/ojknockout'],
function (oj, ko, $, app) {
$(function () {
function init() {
ko.applyBindings(app, document.getElementById('globalBody'));
}
// If running in a hybrid (e.g. Cordova) environment, we need to wait for the deviceready
// event before executing any code that might interact with Cordova APIs or plugins.
if ($(document.body).hasClass('oj-hybrid')) {
document.addEventListener('deviceready', init);
} else {
init();
}
});
}
);
的官方文档:https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html