Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opal/opal-jquery
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a93e9678d1b8
Choose a base ref
...
head repository: opal/opal-jquery
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 035b78c94e9e
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Dec 7, 2014

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2c26a5d View commit details
  2. Merge pull request #60 from 5t111111/add-methods

    Add Element#outer_width and Element#outer_height
    adambeynon committed Dec 7, 2014
    Copy the full SHA
    035b78c View commit details
Showing with 6 additions and 0 deletions.
  1. +6 −0 opal/opal-jquery/element.rb
6 changes: 6 additions & 0 deletions opal/opal-jquery/element.rb
Original file line number Diff line number Diff line change
@@ -373,6 +373,12 @@ def self.expose(*methods)
# @!method width=(value)
alias_native :width=, :width

# @!method outer_width(include_margin = false)
alias_native :outer_width, :outerWidth

# @!method outer_height(include_margin = false)
alias_native :outer_height, :outerHeight

def to_n
self
end