0.0.11 • Published 9 years ago
binderjs v0.0.11
binderJS 0.0.2
About
binderJS는 변수들간의 관계를 설정하여 프로그래밍하는 새로운 기법을 도와주는 모듈입니다.
##브라우저 호환성 Works with: IE 9+, OP 21+, CH 35+ 나머지 브라우저나 버전은 체크 못함 ..
HTML Script TAG
<script src="binder.js" type="text/javascript"></script>
<!-- watch will be global variable -->
RequireJS
// Name.js 파일로 설정뒤.
require("binder", function(binder){
return binder.create(
function (f, s) {
this.$setPiece({
first: f,
second: s,
name: function (first, second) {
return first + second;
}
});
this.$endConfig();
})
})
Installing via Bower
bower install binderjs
API
작성필요.
TODO
- 배열 입력시 applys 옵션 입력이 아닌 값 입력으로 바꾸는게 편의성에 더 좋을것같다.
- 객체 입력시 binder 옵션일시 binder_option: true 값이 들어가면 옵션으로 받아들이고 아니면 value값으로 받아들이게 한다.