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
#jQuery -> | |
# console.log "DOM Ready : 1 : Hello World" | |
#jQuery(document).ready -> | |
# console.log "DOM Ready : 2 : " | |
#jQuery(window).load -> | |
# console.log "DOM Ready : 3 : " | |
#jQuery Mobile | |
jQuery(document).on 'pageinit', -> | |
console.log 'Coffe Script says : Page initialised !' |
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
void main() { | |
//print("Hello, World!"); | |
num a=24; | |
printNumber(a); | |
var b=45;//declaring without a type declaration, but you can see assigning a string to this will throw compile time error | |
printNumber(b); | |
Joe j=new Joe(); | |
//print(j.age);//can not access private var | |
print('j is of ${j.userAge}');//getter | |
j.userAge=30;//setter |
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
package | |
{ | |
import com.saumya.study.MyProxyObject; | |
import flash.display.MovieClip; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.utils.Proxy; | |
import flash.utils.flash_proxy; | |
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
package com.saumya.study | |
{ | |
import flash.utils.Dictionary; | |
import flash.utils.Proxy; | |
import flash.utils.flash_proxy; | |
/** | |
* Learning the proxy object | |
* @author saumya | |
* @version 0.0.1 |
NewerOlder