Added Listview Component

Re-added Listview Component
Really sorry, I didn't see this message - just stumbled upon let me check
this right away


   [image: --]

Harshit Pandey
[image: http://]about.me/harshit.pandey
   <http://about.me/harshit.pandey?promo=email_sig>


On Sat, Dec 13, 2014 at 1:27 PM, akhileshgupta <notifications@github.com>
wrote:
>
> In elements/force-sobject-listview/force-sobject-listview.js
> <https://github.com/ForceDotComLabs/mobile-ui-elements/pull/12#discussion-diff-21791437>
> :
>
> > @@ -0,0 +1,26 @@
> > +var query='';
> > +  // Call the List View API to get the results (also includes column definitions)
> > +    Polymer('force-ui-listview', {
> > +     observe: {
> > +      sobject: 'ready'
> > +      },
> > +     ready: function() {
> > +      this.query='';
> > +      this.query = '/services/data/v32.0/sobjects/' + this.sobject + '/listviews/';
> > +      },
> > +     updateListView: function() {
> > +       this.sobject=sobject;
> > +     }
> > +  });
> > +   $.ajax({
>
> This code is still using the raw jquery ajax method with session from
> {!$Api.Session_ID}. This won't work outside of VF page. Can you update this
> with the forcetkClient version that we worked on last week?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ForceDotComLabs/mobile-ui-elements/pull/12/files#r21791437>
> .
>