cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Kurdyumov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-7278) Allow plugin modules to be .json files
Date Fri, 24 Oct 2014 07:39:34 GMT

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

Andrey Kurdyumov resolved CB-7278.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.6.3

This patch already merged and shipped

> Allow plugin modules to be .json files
> --------------------------------------
>
>                 Key: CB-7278
>                 URL: https://issues.apache.org/jira/browse/CB-7278
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaLib
>    Affects Versions: 3.5.0
>            Reporter: Joseph Frazier
>            Priority: Trivial
>              Labels: json, module, plugin, require
>             Fix For: 3.6.3
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> [Node.js modules can be .json files|https://github.com/joyent/node/commit/588d885e81dec667920383ac7246daceeb7f99fd],
in which case module.exports is simply the parsed object. Cordova modules should also have
this ability, so that modular plugins don't have to be bundled before Cordova prepares them.
> I've submitted a pull request for this on github: https://github.com/apache/cordova-lib/pull/71



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message