1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    36
    Vote Rating
    0
    hudi1 is on a distinguished road

      0  

    Default How to add remoting api to app.js

    How to add remoting api to app.js


    Hi,

    I want to add this line to my app:

    Ext.require('Ext.direct.*', function() {
    Ext.direct.Manager.addProvider(Ext.app.REMOTING_API);
    });

    I am using sencha architect but I have no idea how I can edit app.js manually. because it is read only and in option I didnt find how to add this.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,165
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Adding a Direct resource with the appropriate api endpoint will automatically add the provider for you.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1

Tags for this Thread