diff options
author | Struan Donald <struan@exo.org.uk> | 2013-02-28 11:07:48 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-02-28 11:07:48 +0000 |
commit | 2ac9ca08ebc95fddb75b39813d7ed85f09bb92f3 (patch) | |
tree | 3479e9871324f24c1d09b0bddf2dd7470998b784 /www/js/views/around.js | |
parent | 24fcbd330f20725252a803efaa0631130b965028 (diff) |
WIP around page display
Diffstat (limited to 'www/js/views/around.js')
-rw-r--r-- | www/js/views/around.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js new file mode 100644 index 0000000..ba0e62e --- /dev/null +++ b/www/js/views/around.js @@ -0,0 +1,18 @@ +;(function (FMS, Backbone, _, $) { + _.extend( FMS, { + AroundView: FMS.FMSView.extend({ + template: 'around', + tag: 'div', + id: 'around-page', + + afterDisplay: function() { + console.log( 'around after display'); + fixmystreet.latitude = 56.33182; + fixmystreet.longitude = -2.79483; + + show_map(); + console.log('map shown'); + } + }) + }); +})(FMS, Backbone, _, $); |