This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var nigayo = {}; | |
nigayo.obj = (function() { | |
function pub (name) {this.name = name;} | |
pub.prototype.getName = function() { | |
return this.name + pub._priv(); | |
}; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* json | |
{ | |
"sum" : "68", | |
"majors" : [ | |
{ | |
"count" : "12", | |
"url" : ["../jisu.json","../jisu2.json","../jisu3.json","../jisu4.json"], | |
"professor" : "younJisu" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var obj = (function() { | |
//private : 한 놈들.(closure 특성을 활용한 private 생성) | |
var _name = "jisu", | |
_aData = [], | |
_innerFun = function(id,name) { | |
console.log(id , name); | |
}; | |
function Pub(id) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="http://www.naver.com">네이버</ㅁ> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://ejohn.org/blog/asmjs-javascript-compile-target/ | |
function DiagModule(stdlib, foreign, heap) { | |
//"use asm"; | |
// Variable Declarations | |
var sqrt = stdlib.Math.sqrt; | |
// Function Declarations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="view"> | |
<div id="content"> | |
<div class="original"> | |
<div class="a">a</div> | |
<div class="b">b</div> | |
<div class="c">c</div> | |
</div> | |
<div class="addon"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 초기 코드에서 이걸 계산. | |
this.__d = []; | |
for (i in window) { | |
this.__d.push(i); | |
} | |
//나중에 이 메소드를 실행 | |
(function(win){ |
OlderNewer