My javascript convention 1. global scoping 에서 실행되지 않도록immediately-invoking function expression “anonymous function”, “self-invoking function”{code} (function () { })();{code} 2. 'use strict';'strict' 운영 컨텍스트에서 프로그래밍 할 수 있는 ECMAScript5의 새로운 기능. jsLint에서 체크해주는 '권장사항이지만 에러는 아닌' 자바스크립트 코딩 규칙을 지키지 않으면 아예 에러가 발생시킨다.말 그대로 엄격하게 규칙을 준수해서 코딩하게 해준다. 3. global namespace 명은 소문자로 시작, 서브 클래스는 대문자{code}report.TabView{code} 4. 내부 사용 함수는.. 더보기 이미지 찾는 법 우클릭 -> 소스보기 의 마크업과 엘리먼트 인스펙터 마크업의 차이점백그라운드 이미지 찾는 법 더보기 연산자 우선순위 Operator PrecedenceWhen using expressions that contain a mixture of operators it is important to be aware that the expression is evaluated in a particular order depending on operator priority. This priority order is outlined in the following table which lists operators from highest priority to lowest:OperatorDescriptionPriority* / %Multiplication, Division, ModulusHighest+ -Addition, Subtraction.. 더보기 style vs class handling . 더보기 When Do You Need A JavaScript MV* Framework? http://coding.smashingmagazine.com/2012/07/27/journey-through-the-javascript-mvc-jungle/When Do You Need A JavaScript MV* Framework?When building a single-page application using JavaScript, whether it involves a complex user interface or is simply trying to reduce the number of HTTP requests required for new Views, you will likely find yourself inventing many of the pieces that make up an MV* fr.. 더보기 금산분리 . 더보기 디버깅 방법 Q. CSS 백그라운드 이미지 URL찾는 법Q. 소스보기와 Elements tree는 다를 수 있다.Q. 압축된 js 소스 보기Q. 서버로 전송 된 값 or 응답 값 브라우저에서 확인하는 방법Q. IE 는 어떻게IE8 이상실행도구 > 개발자 도구 (F12)클릭으로 요소선택이 잘 되다가 안 되는 이유 동적으로 변한 Dom tree가 실시간으로 반영되지 않기 때문에 새로고침을 눌러줘야 한다.CSS 선택자로 준 스타일을 보려면 아래에서부터 위로 확인한다. 네트워크 IE9 는 브라우저에서 기능을 제공한다그 외엔 Fiddler와 같은 도구를 별도로 설치해서 사용 Firefox DNS Flusher 라는 add-on 편하다. 더보기 브라우저 캐시? 캐시가 강하게 먹힌다는 말...정확히 브라우저 캐시가 언제 사용되고 있고, 브라우저 캐시인지 아닌지 구별하는 방법? 더보기 velocity 좀 알려주세요. 저도 벨로시티 깊게 알지는 못하고...그냥 따라 합니다. 더보기 javascript this Q. var self = this; 가 무슨 역할을 하나요? 더보기 이전 1 2 3 4 5 다음