zoukankan      html  css  js  c++  java
  • RequireJS被外部调用

    /* $("#yt_direction_top").on('mousedown',function(){
    	 upstart();
    }); */
    function upstart(){
    	require(['videoStart'],function(video){
    		video.upstart();
    	});
    }
    /* $("#yt_direction_top").on('mouseup',function(){
    	 upstop();
    }); */
    function upstop(){
    	require(['videoStart'],function(video){
    		video.upstop();
    	});
    }
    /* $("#yt_direction_bottom").on('mousedown',function(){
    	 downstart();
    }); */
    function downstart(){
    	require(['videoStart'],function(video){
    		video.downstart();
    	});
    }
    /* $("#yt_direction_bottom").on('mouseup',function(){
    	 downstop();
    }); */ 
    function downstop(){
    	require(['videoStart'],function(video){
    		video.downstop();
    	});
    }
    /* $("#yt_direction_left").on('mousedown',function(){
    	 leftstart(); 
    }); */
    function leftstart(){
    	require(['videoStart'],function(video){
    		video.leftstart();
    	});
    }
    /* $("#yt_direction_left").on('mouseup',function(){
    	 leftstop();
    });  */
    function leftstop(){
    	require(['videoStart'],function(video){
    		video.leftstop();
    	});
    }
    /* $("#yt_direction_right").on('mousedown',function(){
    	 rightstart();
    }); */
    function rightstart(){
    	require(['videoStart'],function(video){
    		video.rightstart();
    	});
    }
    /* $("#yt_direction_right").on('mouseup',function(){
    	 rightstop();
    }); */
    function rightstop(){
    	require(['videoStart'],function(video){
    		video.rightstop();
    	});
    }
    /* $("#yt_zoom_add").on('mousedown',function(){
    	 ZOOMstart();
    }); */
    function ZOOMstart(){
    	require(['videoStart'],function(video){
    		video.ZOOMstart();
    	});
    }
    /* $("#yt_zoom_add").on('mouseup',function(){
    	 ZOOMstop();
    }); */
    function ZOOMstop(){
    	require(['videoStart'],function(video){
    		video.ZOOMstop();
    	});
    }
    /* $("#yt_zoom_reduce").on('mousedown',function(){
    	 REDUCEZOOMstart();
    }); */
    function REDUCEZOOMstart(){
    	require(['videoStart'],function(video){
    		video.REDUCEZOOMstart();
    	});
    }
    /* $("#yt_zoom_reduce").on('mouseup',function(){
    	 REDUCEZOOMstop();
    });  */
    function REDUCEZOOMstop(){
    	require(['videoStart'],function(video){
    		video.REDUCEZOOMstop();
    	});
    }
    /* $("#yt_focus_add").on('mousedown',function(){
    	 FOCUSstart();
    }); */
    function FOCUSstart(){
    	require(['videoStart'],function(video){
    		video.FOCUSstart();
    	});
    }
    /* $("#yt_focus_add").on('mouseup',function(){
    	 FOCUSstop();
    });  */
    function FOCUSstop(){
    	require(['videoStart'],function(video){
    		video.FOCUSstop();
    	});
    }
    /* $("#yt_focus_reduce").on('mousedown',function(){
    	 REDUCEFOCUSstart();
    }); */
    function REDUCEFOCUSstart(){
    	require(['videoStart'],function(video){
    		video.REDUCEFOCUSstart();
    	});
    }
    /* $("#yt_focus_reduce").on('mouseup',function(){
    	 REDUCEFOCUSstop();
    }); */
    function REDUCEFOCUSstop(){
    	require(['videoStart'],function(video){
    		video.REDUCEFOCUSstop();
    	});
    }
    /* $("#yt_aperture_add").on('mousedown',function(){
    	 APERTUREstart();
    }); */
    function APERTUREstart(){
    	require(['videoStart'],function(video){
    		video.APERTUREstart();
    	});
    }
    /* $("#yt_aperture_add").on('mouseup',function(){
    	 APERTUREstop();
    });  */
    function APERTUREstop(){
    	require(['videoStart'],function(video){
    		video.APERTUREstop();
    	});
    }
    /* $("#yt_aperture_reduce").on('mousedown',function(){
    	 REDUCEAPERTUREstart(); 
    }); */
    function REDUCEAPERTUREstart(){
    	require(['videoStart'],function(video){
    		video.REDUCEAPERTUREstart();
    	});
    }
    /* $("#yt_aperture_reduce").on('mouseup',function(){
    	 REDUCEAPERTUREstop(); 
    }); */
    function REDUCEAPERTUREstop(){
    	require(['videoStart'],function(video){
    		video.REDUCEAPERTUREstop();
    	});
    }
    
  • 相关阅读:
    用stetho通过网页访问手机数据库
    Python学习笔记(一)
    Linux学习笔记(四)Linux常用命令
    Linux学习笔记(三)Shell命令机制
    Linux学习笔记(一)
    Linux学习笔记(五)Linux应用程序的安装和卸载
    Linux学习笔记(二)Shell教程
    Linux学习笔记(六)Linux服务程序的安装和卸载
    前端模块总结
    div+css命名规范
  • 原文地址:https://www.cnblogs.com/boonya/p/12397695.html
Copyright © 2011-2022 走看看