rviscomi / trunk8

jQuery Truncation Plugin -- THIS PROJECT IS NO LONGER MAINTAINED
MIT License
703 stars 95 forks source link

add data-trunk8-* support #44

Open waitingmyself opened 10 years ago

waitingmyself commented 10 years ago

add attribute data-trunk8-* to each element for special settings @rviscomi sorry for my english,i am uncertain if i understand your words

It should not take precedence over the options object in init.

the order of the config is : trunk8.defaults -- trunk8 config -- element attribute and the next will override the last

waitingmyself commented 9 years ago

@rviscomi thanks for your reply,and i have add a new commit to fix the problem.

waitingmyself commented 9 years ago

thanks @rviscomi i learn much more than the code itself ~~