Commit fbc1fc2aa6d5535925d305c7d146f81c953ba4c1

Authored by Fabio Teixeira
1 parent 0d1c7222
Exists in gov_user_refactory

Add global marking to modulejs

Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
public/app.js
  1 +/* globals modulejs */
  2 +
1 3 (function() {
2 4 'use strict';
3 5  
... ...
public/initializer.js
  1 +/* globals modulejs */
  2 +
1 3 (function() {
2 4 'use strict';
3 5  
... ...
public/lib/noosfero-root.js
  1 +/* globals modulejs */
  2 +
1 3 modulejs.define('NoosferoRoot', function() {
2 4 'use strict';
3 5  
... ...
public/lib/select-element.js
  1 +/* globals modulejs */
  2 +
1 3 modulejs.define('SelectElement', function() {
2 4 'use strict';
3 5  
... ...
public/lib/select-field-choices.js
  1 +/* globals modulejs */
  2 +
1 3 modulejs.define('SelectFieldChoices', ['jquery', 'SelectElement'], function($, SelectElement) {
2 4 'use strict';
3 5  
... ...
public/views/complete-registration.js
  1 +/* globals modulejs */
  2 +
1 3 modulejs.define('CompleteRegistration', ['jquery', 'NoosferoRoot'], function($, NoosferoRoot) {
2 4 'use strict';
3 5  
... ...
public/views/control-panel.js
  1 +/* globals modulejs */
  2 +
1 3 modulejs.define('ControlPanel', ['jquery'], function($) {
2 4 'use strict';
3 5  
... ...
public/views/create-institution.js
  1 +/* globals modulejs */
  2 +
1 3 modulejs.define('CreateInstitution', ['jquery', 'NoosferoRoot', 'SelectElement'], function($, NoosferoRoot, SelectElement) {
2 4 'use strict';
3 5  
... ...
public/views/gov-user-comments-extra-fields.js
  1 +/* globals modulejs */
  2 +
1 3 modulejs.define("GovUserCommentsExtraFields", ['jquery','CreateInstitution'], function($,CreateInstitution) {
2 4  
3 5 function set_events() {
... ...
public/views/new-community.js
  1 +/* globals modulejs */
  2 +
1 3 modulejs.define("NewCommunity", ['jquery'], function($) {
2 4  
3 5 function replace_mandatory_message() {
... ... @@ -8,7 +10,7 @@ modulejs.define(&quot;NewCommunity&quot;, [&#39;jquery&#39;], function($) {
8 10 function remove_image_builder_text() {
9 11 $("label:contains('Image builder')").hide();
10 12 }
11   -
  13 +
12 14 function hide_organization_template_fields(){
13 15 $('#template-options').hide();
14 16 }
... ...
public/views/user-edit-profile.js
  1 +/* globals modulejs */
  2 +
1 3 modulejs.define('UserEditProfile', ['jquery', 'SelectElement', 'SelectFieldChoices', 'CreateInstitution'], function($, SelectElement, SelectFieldChoices, CreateInstitution) {
2 4 'use strict';
3 5  
... ...