OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. All Rights Reserved. | 2 * Copyright 2013 Google Inc. All Rights Reserved. |
3 * | 3 * |
4 * Licensed under the Apache License, Version 2.0 (the "License"); | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
5 * you may not use this file except in compliance with the License. | 5 * you may not use this file except in compliance with the License. |
6 * You may obtain a copy of the License at | 6 * You may obtain a copy of the License at |
7 * | 7 * |
8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
9 * | 9 * |
10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
(...skipping 94 matching lines...) Loading... |
105 var findDivNum = function() { | 105 var findDivNum = function() { |
106 var value = document.getElementById('animNum').innerHTML; | 106 var value = document.getElementById('animNum').innerHTML; |
107 value = parseInt(value); | 107 value = parseInt(value); |
108 return value; | 108 return value; |
109 } | 109 } |
110 | 110 |
111 // Generate 'a', 'b', 'c', 'd'... to put in as id. | 111 // Generate 'a', 'b', 'c', 'd'... to put in as id. |
112 var nextId = function(currentId) { | 112 var nextId = function(currentId) { |
113 return String.fromCharCode(currentId.charCodeAt() + 1); | 113 return String.fromCharCode(currentId.charCodeAt() + 1); |
114 } | 114 } |
OLD | NEW |