cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-5575) cordova.js localRequire bug
Date Wed, 08 Jan 2014 01:14:52 GMT

     [ https://issues.apache.org/jira/browse/CB-5575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shazron Abdullah updated CB-5575:
---------------------------------

    Fix Version/s:     (was: 3.2.0)

> cordova.js localRequire bug
> ---------------------------
>
>                 Key: CB-5575
>                 URL: https://issues.apache.org/jira/browse/CB-5575
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 3.2.0
>            Reporter: danny
>   Original Estimate: 612h
>  Remaining Estimate: 612h
>
> if (id.charAt(0) === ".") {
>      resultantId = module.id.slice(0, module.id.lastIndexOf(SEPERATOR)) + SEPERATOR +
id.slice(2);
> }
> if module.id like "test/123", use localRequire when id like "./test", resultantid will
"test/12.test", right?
>                



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message