Showing 3 of 7 total issues
Function link
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, element, attrs) { var props = scope.props() || {}; props.width = props.width ? props.width : ng.element(element).width(); props.height = props.height ? props.height : ng.element(element).height(); var oldChildren = ng.element(element).children();
Function init
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function(apiKey, sessionId, token, cb) { this.session = OT.initSession(apiKey, sessionId); OTSession.session.on({ sessionConnected: function() {
Function exports
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '',