Christopher Dembek
05/29/2020, 4:33 PMTypeError: deps is undefinedjavascript-libs.js:47:7
insertPlugin <http://localhost:7777/tmp/javascript-libs.js:47>
func <http://localhost:7777/tmp/javascript-libs.js:65>
<anonymous> <https://api.mapbox.com/mapbox-gl-js/v1.10.1/mapbox-gl.js:4>
<anonymous> <https://api.mapbox.com/mapbox-gl-js/v1.10.1/mapbox-gl.js:6>
Steve Goldberg
05/29/2020, 4:37 PMdeps
in your code supposed to do?PabloZ
05/29/2020, 4:38 PMPabloZ
05/29/2020, 4:38 PMkkennedydesign
05/29/2020, 4:38 PMSteve Goldberg
05/29/2020, 4:38 PMPabloZ
05/29/2020, 4:39 PMChristopher Dembek
05/29/2020, 4:39 PMSteve Goldberg
05/29/2020, 4:39 PMSteve Goldberg
05/29/2020, 4:39 PMChristopher Dembek
05/29/2020, 4:40 PMPabloZ
05/29/2020, 4:40 PMPabloZ
05/29/2020, 4:40 PMChristopher Dembek
05/29/2020, 4:40 PMSteve Goldberg
05/29/2020, 4:40 PMPabloZ
05/29/2020, 4:41 PMChristopher Dembek
05/29/2020, 4:41 PMPabloZ
05/29/2020, 4:42 PMChristopher Dembek
05/29/2020, 4:42 PM_var_ promise = _jQuery_.ajax({
url: '<https://api.mapbox.com/mapbox-gl-js/v1.10.1/mapbox-gl.js>', //_.getAbsoluteUrl(getExtensionAssetsPath('mapbox-gl.js')),
dataType: 'script',
complete: _function_ (_e_) {
console.log('mapbox-gl.js: ' + _e_.statusText);
},
cache: true
});
PabloZ
05/29/2020, 4:42 PMPabloZ
05/29/2020, 4:43 PMChristopher Dembek
05/29/2020, 4:44 PMChristopher Dembek
05/29/2020, 4:46 PMPabloZ
05/29/2020, 4:46 PMPabloZ
05/29/2020, 4:48 PMtypeof define === 'function' && define.amd ? define(factory) :
then you'll most likely be OK.Christopher Dembek
05/29/2020, 4:48 PMPabloZ
05/29/2020, 4:49 PMPabloZ
05/29/2020, 4:49 PMPabloZ
05/29/2020, 4:49 PMPabloZ
05/29/2020, 4:50 PMPabloZ
05/29/2020, 4:50 PMChristopher Dembek
05/29/2020, 4:52 PMChristopher Dembek
05/29/2020, 4:52 PMPabloZ
05/29/2020, 4:55 PMdefine('jquery.matchHeight', ['jQuery'], function ($)
{
/*
Christopher Dembek
05/29/2020, 4:57 PMPabloZ
05/29/2020, 4:57 PMPabloZ
05/29/2020, 4:58 PMPabloZ
05/29/2020, 4:58 PMChristopher Dembek
05/29/2020, 5:00 PMtypeof define === 'function' && define.amd ? define(factory) :
(_global_ = _global_ || self, _global_.mapboxgl = factory());
to
typeof define === false;
PabloZ
05/29/2020, 5:00 PMPabloZ
05/29/2020, 5:01 PMChristopher Dembek
05/29/2020, 5:08 PMPabloZ
05/29/2020, 5:10 PMChristopher Dembek
05/29/2020, 5:11 PMPabloZ
05/29/2020, 5:12 PMPabloZ
05/29/2020, 5:12 PMPabloZ
05/29/2020, 5:12 PMPabloZ
05/29/2020, 5:12 PMPabloZ
05/29/2020, 5:13 PMChristopher Dembek
05/29/2020, 5:14 PM(_function_ (_global_, factory) {
typeof _exports_ === 'object' && typeof _module_ !== 'undefined' ? _module_._exports_ = factory() :
typeof define === false :
(_global_ = _global_ || self, _global_.mapboxgl = factory());
}(this, (_function_ () { 'use strict';
PabloZ
05/29/2020, 5:16 PMChristopher Dembek
05/29/2020, 5:16 PMPabloZ
05/29/2020, 5:17 PMPabloZ
05/29/2020, 5:17 PMChristopher Dembek
05/29/2020, 5:18 PM(_function_ (_global_, factory) {
typeof _exports_ === 'object' && typeof _module_ !== 'undefined' ? _module_._exports_ = factory() :
typeof define === ‘function’ && define.amd ? define(factory) :
(_global_ = _global_ || self, _global_.mapboxgl = factory());
}(this, (_function_ () { 'use strict';
PabloZ
05/29/2020, 5:18 PMPabloZ
05/29/2020, 5:18 PMChristopher Dembek
05/29/2020, 5:20 PMChristopher Dembek
05/29/2020, 5:20 PMPabloZ
05/29/2020, 5:34 PMkkennedydesign
05/29/2020, 5:47 PM