Thread:Extension talk:DataTables/How to use the ResourceLoader ?

How to i load the script using ResourceLoader ? I'm using Mediawiki ver 1.21.1