diff options
author | Jason Lee <huacnlee@gmail.com> | 2015-11-10 14:17:37 +0300 |
---|---|---|
committer | Jason Lee <huacnlee@gmail.com> | 2015-11-10 14:17:37 +0300 |
commit | 18cb430f7983ea557cf2308f5ea7c0af8b79a7b5 (patch) | |
tree | 14580177aaed975bf2dd6ffa1c4aa2b327b021cc /app/views/import/github | |
parent | 354b69dde2ba399a4269a0f544fd7a4e399d8b7e (diff) |
Replace CoffeeScript block into JavaScript in Views.
For example view: shared/issuable/_context
CoffeeScript: 190ms
JavaScript: 19.7ms
Diffstat (limited to 'app/views/import/github')
-rw-r--r-- | app/views/import/github/status.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/import/github/status.html.haml b/app/views/import/github/status.html.haml index 0669b05adca..0699321c8c0 100644 --- a/app/views/import/github/status.html.haml +++ b/app/views/import/github/status.html.haml @@ -43,5 +43,5 @@ %td.import-actions.job-status = button_tag "Import", class: "btn js-add-to-import" -:coffeescript - new ImporterStatus("#{jobs_import_github_path}", "#{import_github_path}") +:javascript + new ImporterStatus("#{jobs_import_github_path}", "#{import_github_path}"); |