nl_tokens: Private helper for creating service and service factories .
pl_tokens: function createService ( name , Service , isClass ) { var deps = arguments . length > 3 ? slice . call ( arguments , 3 ) : [ ] ; var bottle = this ; return factory . call ( this , name , function GenericFactory ( ) { var serviceFactory = Service ; // alias for jshint var args = deps . map ( getNestedService , bottle . container ) ; if ( ! isClass ) { return serviceFactory . apply ( null , args ) ; } return new ( Service . <mask> . apply ( Service , [ null ] . concat ( args ) ) ) ( ) ; } ) ; }