Yes you can use them inside the AMD module but keep in mind once you add an event listener on the window object it will be called everytime there is an action:ajaxify.end. If you don't want it triggered after you leave that page you need to turn it off with $(window).off('eventName', myMethod)
[nodebb-plugin-ali-oss] The Server and the OSS is not synchronous
-
[root@bbs nodebb_develop]# tail -n 8 /etc/profile
export OSS_ACCESS_KEY_ID="MTBINQ9JTjyY5m"
export OSS_SECRET_ACCESS_KEY="Ru87oDgLzgBbBdoCqb0KbGHNRX6ao"
export OSS_UPLOADS_HOST="http://nodebbs.oss-cn-shanghai.aliyuncs.com"
export OSS_UPLOADS_BUCKET="nodebbs"
export OSS_DEFAULT_REGION="oss-cn-shanghai"
export OSS_UPLOADS_PATH="/assets"