Sha256: b12a1470ecee72e64e900cb1742fcf886e28ad66925b7116a04bcd3ec7be4d82

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

var Restapi = {
  Routers: {},
  Templates: {},
  
  init: function() {
    new Restapi.Routers.Documentation();
    var base = '/' + window.location.pathname.split('/')[1];
    Backbone.history.start({pushState: true, root: base});
  }
};

$(document).ready(function() {
  Restapi.init();
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restapi-0.0.1 app/public/javascripts/restapi/restapi.js