Commit Graph

4 Commits

Author SHA1 Message Date
Cindy Lu 107b3fcb1a JSCS Cleanup - rename *.factory.js to *.service.js
Per the style guide (brought up by TravT):
https://github.com/johnpapa/angular-styleguide#style-y121

Factory and service should both just be .service.js

Change-Id: I2b1b57f0dbaa859a1d30a6d9e463108eb32d3263
Partially-Implements: blueprint jscs-cleanup
2015-07-02 12:08:54 -07:00
Michael Krotscheck eff59ac2dd Removed JSHint
JSHint is being deprecated by the Horizon project. This removes all
references, commands, and documentation related to this tool. The
patch depends on the deactivation patch for jshint in infra.

Change-Id: I1a799f39023e0598a58d912a4288300ec8340dd9
Depends-on: Ifb59af36ae37926133769c655e54f4c2e1edf095
Partially-Implements: blueprint jscs-cleanup
2015-07-01 09:11:21 -07:00
Kirill Zaitsev 3c0f7e6af3 Fixes a typo 'use_strict' -> 'use strict'
Apparently strict mode is not enabled in toast widgets, due to a
'use_strict' typo, that must have crept in during jscs cleanup
This commit fixes the typo.

Closes-Bug: #1466003
Change-Id: I4cf30b8343bba6bbe7932e3927c6cbc8a81dc0df
2015-06-17 13:31:35 +03:00
Cindy Lu 3137401f24 JSCS Cleanup - style guide cleanup for toast
Following John Papa's style guide
https://github.com/johnpapa/angular-styleguide,
this patch refactors the Angular code for 'toast' module.

Change-Id: I66b83a695046610aa44c9efdf44895fcd977e62b
Partially-Implements: blueprint jscs-cleanup
2015-06-10 17:56:31 -07:00