@@ -63,10 +63,10 @@ return /******/ (function(modules) { // webpackBootstrap
6363/* 0 */
6464/***/ function ( module , exports , __webpack_require__ ) {
6565
66- var _classCallCheck = function ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( 'Cannot call a class as a function' ) ; } } ;
67-
6866 var _createClass = ( function ( ) { function defineProperties ( target , props ) { for ( var i = 0 ; i < props . length ; i ++ ) { var descriptor = props [ i ] ; descriptor . enumerable = descriptor . enumerable || false ; descriptor . configurable = true ; if ( 'value' in descriptor ) descriptor . writable = true ; Object . defineProperty ( target , descriptor . key , descriptor ) ; } } return function ( Constructor , protoProps , staticProps ) { if ( protoProps ) defineProperties ( Constructor . prototype , protoProps ) ; if ( staticProps ) defineProperties ( Constructor , staticProps ) ; return Constructor ; } ; } ) ( ) ;
6967
68+ function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( 'Cannot call a class as a function' ) ; } }
69+
7070 var JSData = __webpack_require__ ( 1 ) ;
7171 var axios = null ;
7272
@@ -143,7 +143,7 @@ return /******/ (function(modules) { // webpackBootstrap
143143 _createClass ( DSHttpAdapter , [ {
144144 key : 'getEndpoint' ,
145145 value : function getEndpoint ( resourceConfig , id , options ) {
146- var _this = this ;
146+ var _this2 = this ;
147147
148148 options = options || { } ;
149149 options . params = options . params || { } ;
@@ -181,13 +181,11 @@ return /******/ (function(modules) { // webpackBootstrap
181181 _options [ key ] = value ;
182182 } ) ;
183183 return {
184- v : DSUtils . makePath ( _this . getEndpoint ( parentDef , parentId , DSUtils . _ ( parentDef , _options ) ) , parentId , endpoint )
184+ v : DSUtils . makePath ( _this2 . getEndpoint ( parentDef , parentId , DSUtils . _ ( parentDef , _options ) ) , parentId , endpoint )
185185 } ;
186186 } ) ( ) ;
187187
188- if ( typeof _ret === 'object' ) {
189- return _ret . v ;
190- }
188+ if ( typeof _ret === 'object' ) return _ret . v ;
191189 } else {
192190 return endpoint ;
193191 }
@@ -224,7 +222,7 @@ return /******/ (function(modules) { // webpackBootstrap
224222 }
225223
226224 function logResponse ( data ) {
227- var str = '' + start . toUTCString ( ) + ' - ' + data . config . method . toUpperCase ( ) + ' ' + data . config . url + ' - ' + data . status + ' ' + ( new Date ( ) . getTime ( ) - start . getTime ( ) ) + 'ms' ;
225+ var str = start . toUTCString ( ) + ' - ' + data . config . method . toUpperCase ( ) + ' ' + data . config . url + ' - ' + data . status + ' ' + ( new Date ( ) . getTime ( ) - start . getTime ( ) ) + 'ms' ;
228226 if ( data . status >= 200 && data . status < 300 ) {
229227 if ( _this . defaults . log ) {
230228 _this . defaults . log ( str , data ) ;
0 commit comments