diff options
| author | Alon Levy <alon@pobox.com> | 2015-07-23 18:45:14 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-07-23 18:45:14 +0300 |
| commit | 996e06713d8df0b34d9987068309321265c4daab (patch) | |
| tree | d0c5af0207f9fb97de0ea89b6dfaaec1bc30d27d /src/client | |
| parent | 134cd048ee1429873e3277280307800296b26450 (diff) | |
client/model/core: add missing semicolons
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/model/core.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/model/core.js b/src/client/model/core.js index a98e9641..fb037832 100644 --- a/src/client/model/core.js +++ b/src/client/model/core.js @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -"use strict" +"use strict"; /** * core model module - currently unused @@ -30,7 +30,7 @@ define(['util'], function(util) { var random_id__hash = function() { return Math.random().toString(36).substring(2, 10); - } + }; var random_id__seq = function () { var id = 0; @@ -40,7 +40,7 @@ define(['util'], function(util) { return next; } return get_next; - } + }; function random_node_name() { return random_id__hash(); @@ -59,7 +59,7 @@ define(['util'], function(util) { } Node.prototype.equals = function(other_node){ return this.id == other_node.id; - } + }; function Link() { } @@ -148,7 +148,7 @@ define(['util'], function(util) { console.debug(this.id + ' != ' + other.id); } return ret; - } + }; function create_link_from_spec(src, dst, link_spec) { var ret = new Link(); @@ -186,7 +186,7 @@ define(['util'], function(util) { */ Link.prototype.equal_by_id = function(other) { return this.id.toLowerCase() == other.id.toLowerCase(); - } + }; return { init : init, |
