锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品欧美一区喷水,一区在线电影,欧美freesex黑人又粗又大http://www.aygfsteel.com/dlovek/zh-cnMon, 04 Aug 2025 19:16:01 GMTMon, 04 Aug 2025 19:16:01 GMT60- JS綆鍗旳OP瀹炵幇(杞級http://www.aygfsteel.com/dlovek/archive/2007/04/11/109918.html楹﹀楹﹀Wed, 11 Apr 2007 07:32:00 GMThttp://www.aygfsteel.com/dlovek/archive/2007/04/11/109918.htmlhttp://www.aygfsteel.com/dlovek/comments/109918.htmlhttp://www.aygfsteel.com/dlovek/archive/2007/04/11/109918.html#Feedback0http://www.aygfsteel.com/dlovek/comments/commentRss/109918.htmlhttp://www.aygfsteel.com/dlovek/services/trackbacks/109918.html 1 1. <script>
2 2.
3 3. function Test(){
4 4. this.say1 = function(s){
5 5. alert(s);
6 6. }
7 7. this.say2 = function(s){
8 8. alert(s);
9 9. }
10 10. }
11 11.
12 12. function actsAsAspect(object) {
13 13. object.yield = null;
14 14. object.rv = { };
15 15. object.before = function(method, f) {
16 16. var original = eval("this." + method);
17 17. this[method] = function() {
18 18. f.apply(this, arguments);
19 19. return original.apply(this, arguments);
20 20. };
21 21. };
22 22. object.after = function(method, f) {
23 23. var original = eval("this." + method);
24 24. this[method] = function() {
25 25. this.rv[method] = original.apply(this, arguments);
26 26. return f.apply(this, arguments);
27 27. }
28 28. };
29 29. object.around = function(method, f) {
30 30. var original = eval("this." + method);
31 31. this[method] = function() {
32 32. this.yield = original;
33 33. return f.apply(this, arguments);
34 34. }
35 35. };
36 36. }
37 37.
38 38. function beforeHander(s){
39 39. alert("aspect said:");
40 40. }
41 41. function afterHander(s){
42 42. alert("said by aspect");
43 43. }
44 44.
45 45. var t = new Test();
46 46. actsAsAspect(t);
47 47. t.before("say1",beforeHander);
48 48. t.after("say2",afterHander);
49 49.
50 50. test = function(){
51 51. t.say1("hello1");
52 52. t.say2("hello2");
53 53. }
54 54. test();
55 55. </script>

]]>
主站蜘蛛池模板:
白城市|
唐海县|
永年县|
阜南县|
西峡县|
龙陵县|
阳新县|
河北区|
兰考县|
宁南县|
汾西县|
孝昌县|
汝南县|
资兴市|
辉县市|
陵川县|
桦甸市|
扬州市|
乐山市|
宁远县|
株洲市|
平阳县|
缙云县|
赤壁市|
泊头市|
乌兰浩特市|
咸丰县|
万载县|
穆棱市|
龙泉市|
巴楚县|
梅州市|
大连市|
田东县|
赤峰市|
长岭县|
仁化县|
富源县|
德安县|
萍乡市|
永顺县|