码迷,mamicode.com
首页 >  
搜索关键字:require    ( 6509个结果
Ruby中 Include, Extend, Import, Require 的使用区别
Include如下例当你Include一个模块到某个类时, 相当于把模块中定义的方法插入到类中。它允许使用 mixin。它用来 DRY 你的代码, 避免重复。例如, 当你有多个类时, 需要相同的函数时, 可以把函数定义到module中, 进行include。下例假设模块Log和类TestClass在...
分类:其他好文   时间:2015-05-19 22:30:27    阅读次数:203
vs2005_the breakpoint will not currently be hit. The source code is different from the original verison.
公司开发只能用英文版的VS2005 (雅蠛蝶)Tool-->Options-->Debugging->General:把Require source files to exactly match the orginal version的复选勾去掉就OK了。
分类:其他好文   时间:2015-05-19 20:34:28    阅读次数:289
THINKPHP的cron计划任务的实现
写一个cli的入口文件 cli.php <?php define(‘MODE_NAME‘,?‘cli‘); //?检测PHP环境 if(version_compare(PHP_VERSION,‘5.3.0‘,‘<‘))??die(‘require?PHP?>?5.3.0?!‘); define(‘APP_DEBUG‘,?true); //?定...
分类:Web程序   时间:2015-05-19 13:16:33    阅读次数:356
前端技术栈
require.js for dependency management and modular code模块化代码,依赖管理 backbone.js for basic application strcture and separation of concerns 应用架构,分成设计marione...
分类:其他好文   时间:2015-05-18 22:51:29    阅读次数:668
php之include和require
include如果没找到包含文件,会试着运行接下来的代码,会报warning,include_once只包含文件一次,如果出现多次include_once也只能第一次有效。 require如果没找到包含文件,停止运行代码,会报fatal error,require_once只包含文件一次,如果...
分类:Web程序   时间:2015-05-18 20:31:50    阅读次数:113
jquery.js与sea.js综合使用
jquery.js与sea.js综合使用目录 模块定义 define id dependencies factory exports require require.async require.resolve require.load require...
分类:Web程序   时间:2015-05-18 16:35:17    阅读次数:157
APICloud资料
1 //语音读text里面的文字 2 var text=document.getElementById('ready').value; 3 alert(text); 4 var obj = api.require('speechRec...
分类:Windows程序   时间:2015-05-18 12:37:05    阅读次数:181
JS模块化编程之加载器原理
世面上有好多JavaScript的加载器,比如 sea.js, require.js, yui loader, labJs...., 加载器的使用范围是一些比较大的项目, 个人感觉如果是小项目的话可以不用, 我用过seaJS和requireJS, 在项目中用过requireJS, requireJS...
分类:Web程序   时间:2015-05-18 10:48:20    阅读次数:193
JS模块化编程
JS模块化编程世面上有好多JavaScript的加载器,比如sea.js,require.js,yui loader, labJs...., 加载器的使用范围是一些比较大的项目, 个人感觉如果是小项目的话可以不用, 我用过seaJS和requireJS, 在项目中用过requireJS, requi...
分类:Web程序   时间:2015-05-18 10:33:38    阅读次数:168
安装laravel
1. 安装composer2. php.ini 打开openssl 扩展3.通过 Laravel 安装工具 首先,使用 Composer 下载 Laravel 安装包: composer global require "laravel/installer=~1.1" 安装后会在“C:\Users\....
分类:其他好文   时间:2015-05-17 23:27:51    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!