appcelerator/titanium_mobile — pull request #984 by dizzymonkey (2011-12-14 04:04:31+00:00)
Title: TIMOB-6552 add in support for constants that are not literal values

http://jira.appcelerator.org/browse/TIMOB-6552

Testing instructions:
Build brightcove module apilevel2, build a new project with the module and put the following in the app.js:

"
var Brightcove = require('ti.brightcove');

Ti.API.info(">>>>>>>>>>>>>>>>>>>>>>>>>>>>I AM A CONSTANT:" + Brightcove.SORT_BY_PLAYS_TOTAL);

var win = Ti.UI.createWindow({
backgroundColor: 'yellow'
});

win.open();
"

Upon launching the app, you should see the "I AM A CONSTANT" log output in logcat.