博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
peppa pig原版_Peppy和MooTools
阅读量:2512 次
发布时间:2019-05-11

本文共 820 字,大约阅读时间需要 2 分钟。

peppa pig原版

This post has been updated after more tinkering and testing.

经过更多修补和测试后,此帖子已更新。

A while back James Donaghue boasted his new . Lets say for giggles that we wanted to use MooTools and Peppy together. Here's how I got things to work.

前一阵子James Donaghue吹嘘自己的新 。 可以说我们想同时使用MooTools和Peppy。 这就是我要使工作正常的方式。

JavaScript (The JavaScript)

//sets peppy as the default engineWindow.$$ = function(selector){	return new Elements(new peppy.query(selector));}//get elementswindow.addEvent('domready',function() {	$$('div').each(function(el) { // straight cash homey		el.setStyle('color','#f00');	});});

I have no idea why you'd want to do this; MooTools' selector engine is rock solid. I was simply playing around and wanted to show you what I came up with.

我不知道你为什么要这么做; MooTools的选择器引擎坚如磐石。 我只是在玩耍,想向您展示我的想法。

翻译自:

peppa pig原版

转载地址:http://adpwd.baihongyu.com/

你可能感兴趣的文章
opacity半透明兼容ie8。。。。ie8半透明
查看>>
CDOJ_24 八球胜负
查看>>
Alpha 冲刺 (7/10)
查看>>
一款jQuery打造的具有多功能切换的幻灯片特效
查看>>
SNMP从入门到开发:进阶篇
查看>>
@ServletComponentScan ,@ComponentScan,@Configuration 解析
查看>>
unity3d 射弹基础案例代码分析
查看>>
thinksns 分页数据
查看>>
os模块
查看>>
LINQ to SQL vs. NHibernate
查看>>
基于Angular5和WebAPI的增删改查(一)
查看>>
windows 10 & Office 2016 安装
查看>>
最短路径(SP)问题相关算法与模板
查看>>
js算法之最常用的排序
查看>>
Python——交互式图形编程
查看>>
经典排序——希尔排序
查看>>
团队编程项目作业2-团队编程项目代码设计规范
查看>>
英特尔公司将停止910GL、915GL和915PL芯片组的生产
查看>>
团队编程项目作业2-团队编程项目开发环境搭建过程
查看>>
Stax解析XML示例代码
查看>>