분류 전체보기
-
JQunit 사용하기 06javascript/JQunit 2015. 7. 24. 16:18
test.html12345678910111213141516 QUnit Example01 Colored by Color Scriptercsmyfn006.js12345678//==========================================================================// 구현 코드//==========================================================================function intDouble(n){ return 2*n;} Colored by Color Scriptercstest006.js1234567891011121314151617181920//======================================..
-
JQunit 사용하기 05javascript/JQunit 2015. 7. 24. 16:15
test.html123456789101112131415 QUnit Example01 Colored by Color Scriptercstest005.js123456789101112131415161718192021222324252627//==========================================================================// 구현 코드//==========================================================================function intDouble(n){ return 2*n;} //=======================================================================..
-
QUnit 사용하기 04javascript/JQunit 2015. 7. 24. 16:14
test04.html 123456789101112131415161718192021 QUnit Example01 // 구현코드를 넣는다. function intDouble(n){ return 2*n; } Colored by Color Scriptercs test004.js 123456789101112131415test( "intDouble검사1", function(){ equal(intDouble(1),2,"1을 넣으면 1의두배 2를 반환한다."); equal(intDouble(2),4,"2을 넣으면 2의두배 4를 반환한다."); equal(intDouble(2+3),10,"2+3을 넣으면 2+3의두배 10를 반환한다.");}); test( "intDouble검사2", function(){ equal(in..
-
암시적 인텐트 사용Android 2015. 7. 23. 16:50
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123// 웹페이지 띄우기 Uri uri = Uri.parse("http://www.google.com"); Intent it = new Intent(Intent.ACTION_VIEW,uri); startActivity(it); // 구글맵 띄우기 U..
-
기상청 XML 파싱javascript/Jquery 2015. 7. 15. 15:18
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 기상청 정보 파싱 ${data} (현재온도 : ${ta} ${desc}) 기상청 정보 - 전국날씨 Copyright hankyong.com Colored by Color Scriptercs