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 isValidInput(e, mustContain){ | |
"use strict"; | |
if (e.target.tagName === "INPUT"){ | |
if (e.target.value.length === mustContain){ | |
document.getElementById("submit").disabled = false; | |
}else{ | |
document.getElementById("submit").disabled = true; | |
} | |
} | |
} |
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
{% load static %} | |
<!doctype html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> |
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
# -*- coding: UTF-8 -*- | |
import os | |
path = os.getcwd() | |
def build_query(path): | |
migration = '/* Eeasy Migration Tool - Write all the querys */ \n' | |
files = "" | |
for path, subdirs, files in os.walk(path): | |
for file in files: |
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
//Import Lines Module | |
var lines = require('com.lines'); | |
//Window: | |
var win = Ti.UI.createWindow({ | |
backgroundColor:'black' | |
}); | |
//First event listener TouchStart the Origin Point | |
win.addEventListener('touchstart',function(e){ |
NewerOlder