ender-tipsy icon indicating copy to clipboard operation
ender-tipsy copied to clipboard

Tipsy doesn't seem to work with the Jeesh?

Open kezabelle opened this issue 14 years ago • 3 comments

Apologies; my javascript-fu is weak, but I'm thinking there's something awry. Simplest example I can think of is to replace the ender.js in the example with the jeesh (the versions in ender list indicate they're the same, but with the obvious addition of domReady) - in doing so, ender.tipsy.js throws Uncaught ReferenceError: ender is not defined followed by the example page throwing Uncaught TypeError: Object #<c> has no method 'tipsy'

Possibly I'm mis-using the pre-built ender that is the jeesh, in which case, close this and chide me.

kezabelle avatar Jun 17 '11 15:06 kezabelle

Also getting an error.

ender build jeesh ender-tipsy

$('a').tipsy()

$('a').tipsy() is not a function

kmiyashiro avatar Aug 01 '11 21:08 kmiyashiro

Oh, that's because the ender key in package.json is set to 'noop'

{
  "name": "ender-tipsy",
  "description": "Tipsy for Ender",
  "version": "0.0.1",
  "authors": ["Jason Frame", "Dustin Diaz <@ded>"],
  "keywords": ["ender", "tipsy", "ui", "tooltip"],
  "homepage": "https://github.com/ded/ender-tipsy",
  "dependencies": {
    "qwery": ">= 1.1.0",
    "bonzo": ">= 0.5.0",
    "bean": ">= 0.1.4",
        "ender-tween": ">= 0.0.5"
  },
  "ender": "noop"
}

kmiyashiro avatar Aug 01 '11 22:08 kmiyashiro

or... maybe it's the lack of 'main': './ender.tipsy.js' ? Not sure.

kmiyashiro avatar Aug 01 '11 23:08 kmiyashiro