Commit 3db6dbf00fdb01df9c98c3ddfd4a03d72bfe4e96
Committed by
Gabriela Navarro
1 parent
fbc0dde9
Exists in
master
and in
79 other branches
Add 'use strict'
Showing
6 changed files
with
18 additions
and
1 deletions
Show diff stats
public/initializer.js
public/lib/auto-complete.js
public/lib/noosfero-root.js
public/lib/select-element.js
public/views/control-panel.js
public/views/edit-software.js
1 | 1 | modulejs.define('EditSoftware', ['jquery', 'NoosferoRoot', 'AutoComplete'], function($, NoosferoRoot, AutoComplete) { |
2 | + 'use strict'; | |
3 | + | |
2 | 4 | var AJAX_URL = { |
3 | 5 | get_field_data: |
4 | 6 | NoosferoRoot.urlWithSubDirectory("/plugin/software_communities/get_field_data"), |
... | ... | @@ -70,7 +72,7 @@ modulejs.define('EditSoftware', ['jquery', 'NoosferoRoot', 'AutoComplete'], func |
70 | 72 | |
71 | 73 | |
72 | 74 | function display_another_license_fields(selected) { |
73 | - if( selected == "Another" ) { | |
75 | + if( selected === "Another" ) { | |
74 | 76 | $("#another_license").removeClass("hide-field"); |
75 | 77 | $("#version_link").addClass("hide-field"); |
76 | 78 | console.log($("#version_link")); | ... | ... |