labofsahil/github-event-dataset-2012 huggingface dataset:
Yes. But it would work too if you call it in lib. But I Don't think lib would ever need to require a module from any extension.

----- Original Message -----
From: Nukul Bhasin [mailto:reply@reply.github.com]
Sent: Wednesday, July 18, 2012 03:50 AM
To: Rosa Tse
Subject: Re: [BB10-WebWorks-Framework] Pull Req: Refactor all extensions so that the namespace is not hardcoded (#87)

> @@ -450,5 +450,17 @@ self = module.exports = {
>          blobBuilderObj.append(rawData);
>  
>          return blobBuilderObj.getBlob("arraybuffer");
> +    },
> +    loadModule: function (module) {
> +        return require(module);
> +    },
> +    loadExtensionModule: function (extBasename, path) {
> +        var ext = require("./manifest")[extBasename];
> +
> +        if (ext) {

In this method are you assuming that when calling this you are in another extension?

---
Reply to this email directly or view it on GitHub:
https://github.com/blackberry-webworks/BB10-WebWorks-Framework/pull/87/files#r1185750

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Fixed, thanks, sorry, hari-kiri.
I think this function is to long
Check Yii guide sources to get an idea about which markup to use.