little fix for Util.splitLine
This commit is contained in:
parent
b596228782
commit
34500b3255
2 changed files with 1 additions and 3 deletions
|
@ -1265,7 +1265,7 @@ Metamaps.Util = {
|
|||
// you may copy this code but please keep the copyright notice as well
|
||||
splitLine: function (st, n) {
|
||||
var b = '';
|
||||
var s = st;
|
||||
var s = st ? st : '';
|
||||
while (s.length > n) {
|
||||
var c = s.substring(0, n);
|
||||
var d = c.lastIndexOf(' ');
|
||||
|
|
|
@ -54,8 +54,6 @@ module Metamaps
|
|||
config.assets.enabled = true
|
||||
config.assets.initialize_on_precompile = false
|
||||
|
||||
config.assets.paths << "#{Rails.root}/app/assets/javascripts/src"
|
||||
|
||||
# Version of your assets, change this if you want to expire all your assets
|
||||
config.assets.version = '2.0'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue