ready or not code example

Example 1: js ready

// without jQuery (doesn't work in older IEs)
document.addEventListener('DOMContentLoaded', function(){ 
    // your code goes here
}, false);

Example 2: definition of ready

In our company Definition of ready basically
is a checklist for the our Team to take the
user story to work on during the current sprint.
It is used in Sprint Planning meeting.
We create it together as a team, if we
need to add something we discuss it during
the Retro meeting. 
Basically we check whether if:
1-User Story have a clear description.
2-Does User Story have clear Acceptance Criteria
3-Is User story and Acceptence criteria 
  written in Gherkin language
4-Is it small enough to be developed and tested during the sprint
5-IfTest data should be included to the user story