Sha256: 4533724cbfb8babcccf42c162e06a06a6193f8a3f1b5938340812e41121260d9

Contents?: true

Size: 620 Bytes

Versions: 34

Compression:

Stored size: 620 Bytes

Contents

<script src="<%= url('/football/js/libs/jquery-2.0.2.min.js') %>" ></script>
<script src="<%= url('/football/js/libs/underscore-1.4.4.min.js') %>" ></script>
<script src="<%= url('/football/js/libs/require-2.1.6.js') %>" ></script>

<script>
  require.config( {
    baseUrl: "<%= url('/football/js') %>"
  });

  var api;

  require( ['football/api'], function(Api) {

    // todo/fix: strip trailing slash from baseUrl if present
    //  - use path_prefix for now as work around
    // e.g. url('/') is http://footballdb.herokuapp.com/api/v1
    api = Api.create( { baseUrl: '<%= path_prefix %>' } );

  });
</script>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
sportdb-1.8.27 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.26 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.25 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.24 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.23 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.22 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.21 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.20 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.19 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.18 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.17 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.16 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.15 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.14 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.13 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.12 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.11 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.10 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.9 lib/sportdb/service/views/_football_head.erb
sportdb-1.8.8 lib/sportdb/service/views/_football_head.erb