jade-mini-spring base function