Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (ti.locale)
Viewing all articles
Browse latest Browse all 2

Overwritung of L() doesn't work in SDK 3.5.0.RC

$
0
0

Hi folks,

in my project I overwrite the L-Function in app.js:

// app.js:
var L = function(key) {
    return require('L')(key);
};
In L.js:
module.exports = function(key) {
    var Model = new (require('adapter/model'))();
    return Model.L(key);
};
In model.js the method L makes a sql select. The sqlite db will mirrored at start time of app.

Since newest SDk-version it doesn't work. The L.js will not called.

Any ideas?


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>