[gnome-maps/wip/osm-edit: 8/47] osmApi: Remove attempt at inner class for OSM relation members.



commit 852e6a196b61249a4d819fe7e63ad103319f2bb6
Author: Marcus Lundblad <ml update uu se>
Date:   Wed Jan 28 22:22:54 2015 +0100

    osmApi: Remove attempt at inner class for OSM relation members.
    
    Might just use a list of JS maps for that.

 src/osmRelation.js |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/src/osmRelation.js b/src/osmRelation.js
index ba62e0f..eead4ba 100644
--- a/src/osmRelation.js
+++ b/src/osmRelation.js
@@ -27,28 +27,6 @@ const OSMRelation = new Lang.Class({
     Name: 'OSMRelation',
     Extends: OSMObject.OSMObject,
 
-    const Member = new Lang.Class({
-       Name: 'Element',
-
-       _init: function(params) {
-           this._type = params.type;
-           this._role = params.role;
-           this._ref = params.ref;
-       },
-
-       get type() {
-           return this._type;
-       },
-
-       get role() {
-           return this._role;
-       },
-
-       get ref() {
-           return this._ref;
-       }
-    }),
-
     _init: function(params) {
        this._members = params.members;
        


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]