Skip to content

Commit

Permalink
updated year on files
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmiles committed Jun 20, 2014
1 parent dea5570 commit 6c91586
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 18 deletions.
2 changes: 1 addition & 1 deletion js/realtime-client-utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2013 Google Inc. All Rights Reserved.
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion js/rtpg.collaborators.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2013 Google Inc. All Rights Reserved.
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion js/rtpg.custom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2013 Google Inc. All Rights Reserved.
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion js/rtpg.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2013 Google Inc. All Rights Reserved.
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
11 changes: 2 additions & 9 deletions js/rtpg.list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2013 Google Inc. All Rights Reserved.
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -61,7 +61,6 @@ rtpg.list.loadField = function() {
rtpg.list.field = rtpg.getField(rtpg.list.FIELD_NAME);
}


rtpg.list.initializeModel = function(model) {
var field = model.createList();
field.pushAll(rtpg.list.START_VALUE);
Expand Down Expand Up @@ -94,33 +93,28 @@ rtpg.list.onRemoveItem = function() {
rtpg.list.field.remove(indexToRemove);
};


rtpg.list.onAddItem = function() {
var newValue = $(rtpg.list.ADD_CONTENT_SELECTOR).val();
if (newValue != '') {
rtpg.list.field.push(newValue);
}
}


rtpg.list.onRealtimeAdded = function(evt) {
rtpg.list.updateUi();
rtpg.log.logEvent(evt, 'List Items Added');
};


rtpg.list.onRealtimeRemoved = function(evt) {
rtpg.list.updateUi();
rtpg.log.logEvent(evt, 'List Items Removed');
};


rtpg.list.onRealtimeSet = function(evt) {
rtpg.list.updateUi();
rtpg.log.logEvent(evt, 'List Item Set');
};


rtpg.list.connectUi = function() {
$(rtpg.list.INPUT_SELECTOR).change(rtpg.list.onSelect);
$(rtpg.list.ADD_SELECTOR).click(rtpg.list.onAddItem);
Expand All @@ -129,9 +123,8 @@ rtpg.list.connectUi = function() {
$(rtpg.list.SET_SELECTOR).click(rtpg.list.onSetItem);
};


rtpg.list.connectRealtime = function() {
rtpg.list.field.addEventListener(gapi.drive.realtime.EventType.VALUES_ADDED, rtpg.list.onRealtimeAdded);
rtpg.list.field.addEventListener(gapi.drive.realtime.EventType.VALUES_REMOVED, rtpg.list.onRealtimeRemoved);
rtpg.list.field.addEventListener(gapi.drive.realtime.EventType.VALUES_SET, rtpg.list.onRealtimeSet);
};
};
2 changes: 1 addition & 1 deletion js/rtpg.log.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2013 Google Inc. All Rights Reserved.
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion js/rtpg.map.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2013 Google Inc. All Rights Reserved.
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion js/rtpg.string.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2013 Google Inc. All Rights Reserved.
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion js/rtpg.ui.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2013 Google Inc. All Rights Reserved.
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion redirect.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2013 Google Inc. All Rights Reserved.
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 6c91586

Please sign in to comment.