cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7278) Allow plugin modules to be .json files
Date Thu, 14 Aug 2014 23:11:18 GMT

    [ https://issues.apache.org/jira/browse/CB-7278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097885#comment-14097885
] 

ASF GitHub Bot commented on CB-7278:
------------------------------------

Github user purplecabbage commented on the pull request:

    https://github.com/apache/cordova-lib/pull/71#issuecomment-52256866
  
    Merged, Thanks Joseph!
    We will need a CLA on file for any more substantial pull requests.
    http://cordova.apache.org/#contribute


> 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
>   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.2#6252)

Mime
View raw message