dataset/js/transaction.js is fine.  Maybe make a top level FreemixTransaction object, so it can be loaded without having to load the Freemix namespace.  When we transition to requirejs, that global can go away.

On Jan 31, 2013, at 11:23 AM, William Amberg <notifications@github.com> wrote:

> In freemix/static/dataset/js/editor.js:
> 
> > @@ -46,6 +46,79 @@
> >          identify.populateRecordDisplay();
> >      }
> >  
> > +    /**
> > +     * Represents a DataSourceTransaction
> > +     * @constructor
> > +     * @param {string} options.profileURL - The freemix/dataprofile/ URL 
> > +     */
> > +    Transaction = function(options) {
> 
> Hi @dfeeney, I can reuse some of this javascript for the DataSourceTransaction status polling I want to do on the user profile page. I'd like to pull this javascript out into a separate file. Can you give me some pointers on where I should place the new javascript file (I'll probably call it transactions.js) and if there are any namespacing conventions I should follow? Thanks!
> 
> —
> Reply to this email directly or view it on GitHub.
> 
>