Api cleanup and the stuff that comes with it

@gholtslander 

Made all of the apis use functions from functions.php, so they'll be easier to reuse and write. It'll also help with my unit testing efforts coming soon!
Now that's looking right snappy! A far cry from it's genesis back in the
day.


On Sat, Jun 21, 2014 at 3:18 PM, Graham Holtslander <
notifications@github.com> wrote:

> In adm/index.php:
>
> >              <td data-bind="text: publishDate"></td>
> > -            <td><a href="#" data-bind="click: $parent.deletePost.bind($data)">Delete post</a></td>
> > +            <td><button class="btn btn-primary" data-bind="enable: published, click: $parent.setFeaturedPost"/>Feature</button>
>
> http://sandbox.holtslander.com/miniblog/adm/index.php
>
> Check out how this page looks like now
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/holtscomm/miniblog/pull/46/files#r14051659>.
>



-- 
--
Gord
Gordon Holtslander, BEd
Partner, Holtslander Communications
holtslandercommunications.ca
gordon@holtslander.com