GUAC-963: Add missing function names.

This commit is contained in:
Michael Jumper
2014-12-30 22:22:32 -08:00
parent 2675f69e2b
commit db629be4ae
3 changed files with 5 additions and 5 deletions

View File

@@ -148,7 +148,7 @@ angular.module('client').factory('ManagedDisplay', ['$rootScope',
});
// Store changes to display size
display.onresize = function() {
display.onresize = function setClientSize() {
$rootScope.$apply(function updateClientSize() {
managedDisplay.size = new ManagedDisplay.Dimensions({
width : display.getWidth(),
@@ -158,7 +158,7 @@ angular.module('client').factory('ManagedDisplay', ['$rootScope',
};
// Store changes to display cursor
display.oncursor = function(canvas, x, y) {
display.oncursor = function setClientCursor(canvas, x, y) {
$rootScope.$apply(function updateClientCursor() {
managedDisplay.cursor = new ManagedDisplay.Cursor({
canvas : canvas,

View File

@@ -116,7 +116,7 @@ angular.module('client').factory('ManagedFileTransferState', [function defineMan
* specified, the status code of the ManagedFileTransferState is not
* touched.
*/
ManagedFileTransferState.setStreamState = function(transferState, streamState, statusCode) {
ManagedFileTransferState.setStreamState = function setStreamState(transferState, streamState, statusCode) {
// Do not set state after an error is registered
if (transferState.streamState === ManagedFileTransferState.StreamState.ERROR)

View File

@@ -134,7 +134,7 @@ angular.module('client').factory('ManagedFileUpload', ['$rootScope', '$injector'
// Construct reader for file
var reader = new FileReader();
reader.onloadend = function() {
reader.onloadend = function fileContentsLoaded() {
// Open file for writing
var stream = client.createFileStream(file.type, file.name);
@@ -159,7 +159,7 @@ angular.module('client').factory('ManagedFileUpload', ['$rootScope', '$injector'
// Invalidate stream on all errors
// Continue upload when acknowledged
stream.onack = function(status) {
stream.onack = function ackReceived(status) {
// Handle errors
if (status.isError()) {