<div class="ad-med-carousel">
<div class="ad-med-carousel-inner">
<div class="ad-med-curousel-item " data-ref='image1'>
<div class="ad-med-image" >
<img data-ref='srcimage1' src="" alt="" srcset="">
</div>
<div class="ad-med-car-info" data-ref='car-info1'>
Rich Mortons Glen
Burnie Lincoln Mercury
1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class ExternalFiles{ | |
constructor() { | |
this.getChat(); | |
this.getCalendar(); | |
} | |
async getChat(){ | |
if(!customElements.get('foo-chat')){ | |
await import('chat/chat.js'); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function nextEvent(target,name) { | |
return new Promise(resolve => { | |
target.addEventListener(name, resolve, {once:true}); | |
}); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
angular.module('ls2FrontEnd') | |
.factory('USDLongTokenInterceptor', USDLongTokenInterceptor); | |
USDLongTokenInterceptor.$inject = ['authTokenFactory','$rootScope','$q']; | |
function USDLongTokenInterceptor (authTokenFactory, $rootScope, $q) { | |
var meaningOfLife = 42; | |
var factory = { | |
request: request, | |
// requestError: requestError, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
angular.module('ls2FrontEnd') | |
.factory('authTokenFactory', AuthToken); | |
AuthToken.$inject = ['$window', '$cookies']; | |
function AuthToken ($window, $cookies) { | |
var store = $window.sessionStorage; | |
var key = 'auth-token'; | |
var factory = { | |
getToken: getToken, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
beforeEach(module(function($provide) { | |
angular.module('bento.modern', []); | |
angular.module('pascalprecht.translate', []) | |
.provider('$translate', function() { | |
var url = ''; | |
function useStaticFilesLoader(_url) { | |
url = _url; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var saveInventory = function(req, res) { | |
var body = req.body | |
console.log(body); | |
} | |
server.post('/inventory/:id', saveInventory); |
NewerOlder