domready

WebJar for domready

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

domready
Last Version

Last Version

1.0.8
Release Date

Release Date

Type

Type

jar
Description

Description

domready
WebJar for domready
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/ded/domready

Download domready

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/domready/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>domready</artifactId>
    <version>1.0.8</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/domready/
implementation 'org.webjars.npm:domready:1.0.8'
// https://jarcasting.com/artifacts/org.webjars.npm/domready/
implementation ("org.webjars.npm:domready:1.0.8")
'org.webjars.npm:domready:jar:1.0.8'
<dependency org="org.webjars.npm" name="domready" rev="1.0.8">
  <artifact name="domready" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='domready', version='1.0.8')
)
libraryDependencies += "org.webjars.npm" % "domready" % "1.0.8"
[org.webjars.npm/domready "1.0.8"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

domReady

It's easy. Works like this:

domready(function () {
  // dom is loaded!
})

Deprecation Notice

Compatibility with IE6, IE7, and IE8 has been fully dropped. If your application requires this level of support, please use the 0.3.0 release.


Browser support

  • IE9+
  • Firefox 4+
  • Safari 3+
  • Chrome *
  • Opera *

Building

npm install
make
open tests/test.html

Including with Ender

Don't already have Ender? Install it like this:

npm install ender -g

Include domready in your package:

ender add domready

Then use it like this

require('domready')(function () {
  $('body').html('<p>boosh</p>')
})

// or

$(document).ready(function () {
  $('body').html('<p>boosh</p>')
})

Versions

Version
1.0.8