You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Sautter (JIRA)" <ji...@apache.org> on 2014/05/06 11:30:17 UTC

[jira] [Commented] (THRIFT-2190) Add the JavaScript thrift.js lib to the Bower registry

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

David Sautter commented on THRIFT-2190:
---------------------------------------

There is a main-property missing in the .bower.json.
It is conventional to let it's value point to the "thrift.js"-file.
Problems occur e.g. when using grunt-bower-install ("thrift was not injected in your file").

Please add:   "main": "./lib/js/thrift.js",

> Add the JavaScript thrift.js lib to the Bower registry
> ------------------------------------------------------
>
>                 Key: THRIFT-2190
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2190
>             Project: Thrift
>          Issue Type: Wish
>          Components: JavaScript - Library
>    Affects Versions: 1.0
>            Reporter: Randy Abernethy
>            Assignee: Jake Farrell
>            Priority: Minor
>              Labels: Bower,, Grunt,, package.json
>             Fix For: 0.9.2
>
>         Attachments: 0001-Setup-grunt-and-package.json-project-for-browser-thr.patch
>
>
> Grunt/Bower/Yeoman appear to have the wind at their back. Would be great for front end JavaScript developers to be able to bower install thrift.
> http://bower.io/
> This patch adds a grunt project, jsdoc, jshint, concat, minification and qunit test runner.



--
This message was sent by Atlassian JIRA
(v6.2#6252)