Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Client style improvements #55

Conversation

FiwareULPGC
Copy link
Contributor

This Pull Request has several style improvements:

  • Usage of DOM systax.
  • Nomenclature (correct use of english, unifiying nomenclature, folder structure)
  • Implementation of the module pattern.
  • Deleted unused code.
  • Style improvements in order to pass JSLINT validations.
  • Minor fixes.

With this PR the issues #31 #20 #19 #18 #16 should be solved.

With this PR #21 is partially solved. It will be fully resolved in an upcoming PR that adds linter tests to travis-ci.

Due to the size of this PR and following the developer guidelines ( https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Developer_Guidelines ), we have rebased the PR semantically. We can reduce the number of commits if it is needed.

We plan to refactorize the modules in a smaller ones in a upcoming PR.

font-weight: bold;
}

*/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please avoid commented code

@jmcanterafonseca
Copy link
Collaborator

good work but we certainly need more iterations

thanks!

@jmcanterafonseca
Copy link
Collaborator

there are still some comments not addressed wrt to CSS and comments,

please check

@FiwareULPGC FiwareULPGC force-pushed the refactor/Client_style_improvements branch 2 times, most recently from 56d6a5e to 8c8a4eb Compare March 31, 2016 09:39
 - Nomenclature changes (camelCase, use of english, renamed files, etc).
 - Translate to DOM syntax.
 - Process reviews onsubmit instead of onclick.
 - DOM reservationForm. Fixed disabled/enabled form elements.
 - Deleted commented code. Delete unnecesary code.
 - Removed several console.log lines.
 - Used innerHTML= '' instead of removeChild.
 - Module pattern implemented.
 - Added doctype to HTML files. CSS and JS inclusions have been ordered.
 - Fixed authors text.
 - Changes to pass linter.
 - Roles added as properties.
 - Client structure changed.
     - Moved bootstrap files to js folder.
     - Moved app.css to stylesheets folder.
 - Usage of forEach.
 - Usage of try-catch avoided.
 - Usage of constants.
 - Deleted proxy variable.
 - Other minor style fixes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants