mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
# add dist
This commit is contained in:
16
ng2-components/ng2-alfresco-documentslist/dist/node_modules/center-align/index.js
generated
vendored
Normal file
16
ng2-components/ng2-alfresco-documentslist/dist/node_modules/center-align/index.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/*!
|
||||
* center-align <https://github.com/jonschlinkert/center-align>
|
||||
*
|
||||
* Copycenter (c) 2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var utils = require('./utils');
|
||||
|
||||
module.exports = function centerAlign(val) {
|
||||
return utils.align(val, function (len, longest) {
|
||||
return Math.floor((longest - len) / 2);
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user