What to throw away?

What to throw away?

stormbladestormblade Posts: 10Questions: 0Answers: 0
edited September 2012 in General
Hey all,

So when I first installed Datatables I dumped the entire thing into the project which also got them added into our source control. Now I'm trying to clean up all files that we really don't need but I'm not sure what all is safe to remove. I did remove the examples and so forth. All I have left right now is the media and the extras directory. The media directory of course has the javascript file and css files that I know we use along with a few graphics I believe referenced by the CSS but is the extras directory safe to remove?

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    Yes - you can ditch the extras if you aren't using any of the extras :-).

    For anyone else who finds this thread, this post might be interesting: http://datatables.net/blog/Getting_started_with_DataTables%3A_First_steps .

    Allan
  • stormbladestormblade Posts: 10Questions: 0Answers: 0
    Hey Allan,

    Thanks. One thing I'm I guess unsure of is whether I am actually using any of the extras. sounds funny I know but I don't recall explicitly using any but are they used behind the scenes in any way? How would I make sure?

    See this project is a team one although I handled the datatables implementation but could they be used by turning on a feature of datatables?
  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    > but are they used behind the scenes in any way?

    No

    > How would I make sure?

    Run your table through the debugger: http://debug.datatables.net . It will tell you if any extras are loaded on the page.

    > See this project is a team one although I handled the datatables implementation but could they be used by turning on a feature of data tables?

    Not without explicitly loading those libraries.

    Allan
  • stormbladestormblade Posts: 10Questions: 0Answers: 0
    Thanks much :)
This discussion has been closed.