Skip to content

Instantly share code, notes, and snippets.

@fragje
Created March 31, 2015 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fragje/61b8a05a6c9bf402c171 to your computer and use it in GitHub Desktop.
Save fragje/61b8a05a6c9bf402c171 to your computer and use it in GitHub Desktop.
object this
var READMORE = {
body: $('.js-readmore'),
bodyFirstChild: this.body.cildren()[0],
bodyRemainingChildren: function() {
var children = this.body.children();
children = children.splice(0.1);
return children;
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment