diff options
Diffstat (limited to 'js/campus-coords.js')
-rw-r--r-- | js/campus-coords.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/campus-coords.js b/js/campus-coords.js index 3654a56..fc0f3cc 100644 --- a/js/campus-coords.js +++ b/js/campus-coords.js @@ -1,6 +1,6 @@ define(function() { 'use strict'; - return [ + var buildings = [ { "name": "Students Sports Centre", "description": "Have you ever heard about bossaball, underwater hockey, canoepolo or kempo jitsu? Besides all educational optionalities on the campus, there’s also the <a href=\"\http://venus.tue.nl/sci-cgi/index.opl\"\>Student Sports Centre</a> (SSC) which offers an extensive variety of sports for you to try out and practice, all in order to keep the TU/e-students wholesome. With 70 kinds of sports, special courses, a broad range of facilities, doors that are open 7 days per week, qualified sports instructors, 38 student sports associations and over 11000 members, the SSC is among the largest student collectives in Eindhoven.", @@ -109,4 +109,8 @@ define(function() { ] } ]; + buildings.forEach(function(building) { + building.id = building.name.toLowerCase().replace(/ /g, '-'); + }); + return buildings; }); |