single module resolution for apiclient
This commit is contained in:
Vendored
+6
-1
@@ -1,6 +1,11 @@
|
||||
define(["apiclientcore", "localassetmanager"], function(ApiClient, localassetmanager) {
|
||||
//TODO: (vitorsemeano) modify this lines for webpack
|
||||
define(["bower_components/apiclient/apiclientcore", "localassetmanager"], function(ApiClient, localassetmanager) {
|
||||
"use strict";
|
||||
|
||||
if ("cordova" !== window.appMode && "android" !== window.appMode) {
|
||||
return ApiClient;
|
||||
}
|
||||
|
||||
function isLocalId(str) {
|
||||
return startsWith(str, localPrefix)
|
||||
}
|
||||
Vendored
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"main": "apiclient.js"
|
||||
}
|
||||
Reference in New Issue
Block a user