-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #381 from kimardenmiller/spokenvote-380
Code Clean Up Reviewed, Ruby comments removed, Rebased & Resolved Merge Conflicts for PR #369
- Loading branch information
Showing
27 changed files
with
289 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,11 @@ | ||
#Focus = ($timeout) -> | ||
# (id) -> | ||
# $timeout -> | ||
## console.log 'Utility id arg: ', id | ||
# element = angular.element( document.querySelector id ) | ||
## console.log 'Focus Utility element: ', element | ||
# element[0].focus() if element | ||
# | ||
## Register | ||
#App.Services.factory 'Focus', Focus | ||
|
||
|
||
svUtility = ($timeout) -> | ||
svUtility = ['$timeout', ($timeout) -> | ||
focus: (id) -> | ||
# console.log 'hit: ' | ||
$timeout -> | ||
# console.log 'Utility id arg: ', id | ||
element = angular.element( document.querySelector id ) | ||
# console.log 'Focus Utility element: ', element | ||
element[0].focus() if element | ||
, | ||
10 | ||
|
||
] | ||
# Register | ||
App.Services.factory 'svUtility', svUtility |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.