##Lotto generate algorithm
This file contains hidden or 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
;(function (angular) { | |
var app = angular.module('bj-module', []); | |
/** | |
* @example | |
* <div require-checked tooltip="please select at least one"> | |
* <input type="checkbox" name="chk" value="a"> | |
* <input type="checkbox" name="chk" value="b"> | |
* </div> | |
*/ | |
app.directive('requireChecked', function () { //모든 경우에 쓸 수 있는 디렉티브. 체크박스가 한개 미만 선택시 툴팁 띄움 |
##Example
var a = 10, b = 20;
eval(_t)( "${a} * ${b} = ${a * b}" ); //in ES6 `${a} * ${b} = ${a * b}`
//returns "10 * 20 = 200"
##Example
stringFormat("{1},{0}","two","one")
//returns "one,two"
stringFormat("{1},{0}",["two","one"])
//returns "one,two"
This file contains hidden or 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
javascript: (function(id, pw, redirect) { | |
var form = document.createElement('form'); | |
form.setAttribute("action", "https://dcid.dcinside.com/join/member_check.php"); | |
form.setAttribute("method", "POST"); | |
var data = | |
[{name: "s_url", value: redirect}, | |
{name: "ssl", value: "Y"}, | |
{name: "user_id", value: id}, | |
{name: "password", value: pw}]; |
NewerOlder