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
border: 1px solid #143250; | |
background-color: #288edf; | |
box-shadow: inset 0 1px rgba(255, 255, 255, 0.36); | |
color: #fff; | |
font-weight: 500; | |
text-shadow: 0 -1px rgba(0, 0, 0, 0.36); |
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
8.15垫付50块保洁费 |
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
8月13号借给老査500元 |
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 changehandler(){ | |
console.log("change"); | |
var file = document.getElementById('fileupload').files[0]; | |
var reader=new FileReader(); | |
reader.onload = (function(theFile) { | |
return function(e) { | |
console.log(e.target.result); | |
// img 元素 |
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 throttle( fn, time ) { | |
var t = 0; | |
return function() { | |
var args = arguments, ctx = this; | |
clearTimeout(t); | |
t = setTimeout( function() { | |
fn.apply( ctx, args ); | |
}, time ); | |
}; |
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
ul#position li.on{ | |
box-shadow: inset 0 1px 3px -1px #28b4ea,0 1px 2px rgba(0,0,0,.5); | |
background-color: #1293dc; | |
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#1293dc),color-stop(100%,#0f6297)); | |
background-image: -webkit-linear-gradient(top,#1293dc,#0f6297); | |
background-image: linear-gradient(top,#1293dc,#0f6297); | |
} |
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
foo = function() { | |
this.myName = "Foo function."; | |
} | |
foo.prototype.sayHello = function() { | |
alert(this.myName); | |
} | |
foo.prototype.bar = function() { | |
setTimeout(this.sayHello.call(this), 1000); | |
} | |
var f = new foo(); |
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
/** | |
* Created with JetBrains WebStorm. | |
* User: mobin | |
* Date: 13-7-16 | |
* Time: 下午3:28 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
$(document).ready(function(){ | |
(function(exports){ |
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
参考资料: | |
http://dmitrysoshnikov.com/ecmascript/javascript-the-core/ | |
http://www.quora.com/JavaScript/What-is-the-difference-between-__proto__-and-prototype?q=javascript+__proto__+prototype | |
笔记: | |
(1) |
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
七月十二号交了2700的房钱,三个月 |