sapo/Ink — pull request #179 by r3pek (2013-10-16 12:11:23+00:00)
Title: Add paginationOptions to Ink.Table && Use existing <nav> if not in markup mode

When a table is initialized via JS (new Ink.UI.Table), the navigation, in the case where we want pagination is created and initialized for us. But we may want to change something in it so this patch allows to pass the pagination options to the Table so that when the pagination UI is created it can have the options we want.

Currently, when in markup mode, when creating a table, it reuses the

element right after the table. This allows us to customize it (using classes) to our needs. If not using markup mode, it is never tested for a

element after the table so this patch just mimics the markup-style initialization.