Merge pull request #1246 from strongloop/fix/browser-bundle-size

Import subset of underscore.string scripts only
This commit is contained in:
Miroslav Bajtoš 2015-03-27 08:51:59 +01:00
commit ade5d5ea21
2 changed files with 2 additions and 10 deletions

View File

@ -8,7 +8,8 @@ var assert = require('assert');
var fs = require('fs');
var extend = require('util')._extend;
var RemoteObjects = require('strong-remoting');
var stringUtils = require('underscore.string');
var classify = require('underscore.string/classify');
var camelize = require('underscore.string/camelize');
var path = require('path');
/**
@ -361,14 +362,6 @@ app.boot = function(options) {
'`app.boot` was removed, use the new module loopback-boot instead');
};
function classify(str) {
return stringUtils.classify(str);
}
function camelize(str) {
return stringUtils.camelize(str);
}
function dataSourcesFromConfig(config, connectorRegistry) {
var connectorPath;

View File

@ -6,7 +6,6 @@ var assert = require('assert');
var RemoteObjects = require('strong-remoting');
var SharedClass = require('strong-remoting').SharedClass;
var extend = require('util')._extend;
var stringUtils = require('underscore.string');
/**
* The base class for **all models**.