Rev. 2.73

Low Pro는 Prototype의 부족한 부분을 보충하는 자바스크립트 라이브러리입니다. Prototype 친화적인 DOM 생성기, $$함수 속도 최적화, Event.observe메서드의 메모리릭 문제 해결, 엘리먼트 이벤트를 편리하게 다루는 Event.addBehavior 메서드 등의 기능을 제공해 왔습니다. 이와 같은 유용한 확장기능들은 Prototype 1.6버전에서 해결한 부분도 있고 무력화 되어버린 부분도 있기 때문에 몇가지 메서드를 추가/수정한 Low Pro 0.5버전을 배포했습니다. 자세한 내용은 아래와 같습니다.

Low Pro 0.5

  • Event.onReady delegates to the new dom:loaded event:
    Except that as before if functions are added after the DOM is loaded they fire immediately.
  • DOMBuilder now delegates to Prototype’s new Element:
    Now difference in usage here though, just less code.
  • Low Pro’s DOM methods are now gone:
    Prototype core does everything you should need now.
  • Behavior.create() works just like the new Class.create():
    Yes, you can now create behavior classes that inherit from other behaviors (or indeed any other class). See the Prototype’s site for more information.
  • New core behaviors:
    The Remote and Observed behaviors are now included in the core so you can now turn normal links and forms into Ajaxy links and forms even more easily.
  • Event.addBehavior.reassignAfterAjax is now false by default:
    Normally, if you are relying on this behavior it’s much more efficient to move to a solution using event delegation. However, if you do want your behaviors reassigned to new content after Ajax calls then go ahead and set it back to true again. Another solution is to manually call Event.addBehavior.reload();

구글그룹 :
다운로드 :


Got something to add? You can just leave a comment.

Your Reaction Time!