We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$.ajaxSetup()で dataType:'json' を設定後、コントローラで.ejsファイルに書かれているテンプレートをロードしようとすると
[ERROR]14:49:58,206: テンプレートファイルを取得できませんでした。ステータスコード:200, URL:http://localhost:8080/xxxxxxx/template/test.ejs h5.js:2716 [ERROR]14:49:58,206: コントローラ"HogeController"のテンプレートの読み込みに失敗しました。URL:http://localhost:8080/xxxxxx/template/test.ejs
というエラーが発生する。
<script type="text/ejs" id="tmpl1"></script>
$(function() { $.ajaxSetup({dataType:'json'}); h5.core.controller('body', { __name: 'HogeController', __templates: 'template/test.ejs' }); });
The text was updated successfully, but these errors were encountered:
hifive#396 ejsファイルの取得時にdataType:'text'を指定して取ってくるようにしました
fd700d2
hifive#396 hifive#381 ejsファイルの取得時にdataType:'text'を指定するようにしました
c183826
hifive#396 以下のテストケースを追加しました
7b48e28
『$.ajaxSetupでdataTypeに"json"が指定されているときに正しくテンプレートファイルをロードできること』
ver.1.1.13では、暫定的にdataTypeについて対応します。 ajaxSetupの他のパラメータについては別途検討します。
Sorry, something went wrong.
fukudayasuo
No branches or pull requests
$.ajaxSetup()で dataType:'json' を設定後、コントローラで.ejsファイルに書かれているテンプレートをロードしようとすると
というエラーが発生する。
The text was updated successfully, but these errors were encountered: