Skip to content

Commit

Permalink
Add use strict statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
akiko-pusu committed Jun 21, 2020
1 parent 2f67b53 commit 4ba5f32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/javascripts/issue_templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

// For namespace setting.
// var ISSUE_TEMPLATE = ISSUE_TEMPLATE || function () {}
'use strict'

function ISSUE_TEMPLATE(config) {
this.pulldownUrl = config.pulldownUrl
this.loadUrl = config.loadUrl
Expand Down
1 change: 1 addition & 0 deletions assets/javascripts/template_checklists.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'
const removeCheckList = (obj) => {
let target = obj.closest('li')
target.remove()
Expand Down
1 change: 1 addition & 0 deletions assets/javascripts/template_fields.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This JS is used only when create / edit template. (Using Vue.js)
'use strict'
const vm = new Vue({
el: '#json_generator',
data: {
Expand Down

0 comments on commit 4ba5f32

Please sign in to comment.