Delete codeguide.txt
This commit is contained in:
parent
ebfe8257bd
commit
89e31d14b2
1 changed files with 0 additions and 71 deletions
|
@ -1,71 +0,0 @@
|
||||||
FILE /app/views/layouts/application.html.erb
|
|
||||||
<head>
|
|
||||||
...
|
|
||||||
<%= javascript_include_tag "application" %>
|
|
||||||
<% if (controller_name == "maps" || controller_name == "topics") && action_name == "show" %>
|
|
||||||
<%= javascript_include_tag "compileMapPages" %>
|
|
||||||
<% end %>
|
|
||||||
...
|
|
||||||
</head>
|
|
||||||
|
|
||||||
WHAT DOES IT MEAN?
|
|
||||||
|
|
||||||
|
|
||||||
____________________________________________________________________
|
|
||||||
|
|
||||||
FILE /app/assets/javascripts/application.js
|
|
||||||
...
|
|
||||||
//= require jquery
|
|
||||||
//= require jquery-ui
|
|
||||||
//= require jquery_ujs
|
|
||||||
//= require ./orderedLibraries/underscore
|
|
||||||
//= require ./orderedLibraries/backbone
|
|
||||||
//= require_directory ./librariesForAllPages
|
|
||||||
//= require ./metamaps/Metamaps.GlobalUI
|
|
||||||
//= require ./metamaps/Metamaps.Backbone
|
|
||||||
|
|
||||||
WHAT DOES IT MEAN?
|
|
||||||
|
|
||||||
|
|
||||||
____________________________________________________________________
|
|
||||||
|
|
||||||
FILE /app/assets/javascripts/compileMapPages.js
|
|
||||||
...
|
|
||||||
//= require ./librariesForMapPages/cloudcarousel
|
|
||||||
//= require ./librariesForMapPages/socket.io
|
|
||||||
//= require ./metamaps/JIT
|
|
||||||
//= require ./metamaps/Metamaps
|
|
||||||
//= require ./metamaps/Metamaps.JIT
|
|
||||||
|
|
||||||
WHAT DOES IT MEAN?
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
____________________________________________________________________
|
|
||||||
|
|
||||||
FILE /app/assets/javascripts/metamaps/Metamaps.GlobalUI.js
|
|
||||||
|
|
||||||
var Metamaps = {};
|
|
||||||
...
|
|
||||||
$(document).ready(function () {
|
|
||||||
for (var prop in Metamaps) {
|
|
||||||
|
|
||||||
// this runs the init function within each sub-object on the Metamaps one
|
|
||||||
if (Metamaps.hasOwnProperty(prop) &&
|
|
||||||
Metamaps[prop].hasOwnProperty('init') &&
|
|
||||||
typeof (Metamaps[prop].init) == 'function'
|
|
||||||
) {
|
|
||||||
Metamaps[prop].init();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
Metamaps.GlobalUI = {
|
|
||||||
...
|
|
||||||
};
|
|
||||||
|
|
||||||
WHAT DOES IT MEAN?
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
____________________________________________________________________
|
|
||||||
|
|
Loading…
Reference in a new issue