Questions tagged [ender]

Ultralite, modular JS framework-framework

13 questions
12
votes
3 answers

Custom Lightweight JavaScript Libraries: EnderJS and MicroJS

I'm working on a custom lightweight JavaScript library that will need to run stably across the major browsers as well as across numerous independent sites without compromising or being compromised by existing libraries or namespaces. Perhaps most…
johnmdonahue
  • 653
  • 7
  • 16
5
votes
1 answer

Optimum JavaScript package size

When you serve JavaScript to a page it is best to serve one packaged, minified and gzipped file to reduce latency and request times. But is it better to send One big package for your entire website One big package for each page in your website. CDN…
Raynos
  • 166,823
  • 56
  • 351
  • 396
5
votes
2 answers

Can I use qwery with bean without Ender?

I have just started trying out micro libraries instead of using jQuery and I'd like to use qwery with bean. If I set bean.setSelectorEngine(qwery); why does the following not work? bean.on('.masthead', 'click', function () { console.log('click…
Zander
  • 2,471
  • 3
  • 31
  • 53
3
votes
1 answer

Understanding Ender.js

In my understanding, Ender is a command line tool that helps organize your javascript dependencies. We can use ender build underscore qwery to produce a ender.js file which contains the codes of underscore and qwery, then we can include this file in…
wong2
  • 34,358
  • 48
  • 134
  • 179
2
votes
0 answers

Installing ender.js on windows - npm WARN gzip@0.1.0

I need help with Ender-js installation. Trying to set it up on my machine (Windows XP). First I've installed node-js v0.6.6 & downloaded (&unzipped) the latest NPM - 1.1.0-beta-7. As per "Fancy Windows Install" Then I run - npm install ender…
sdvig
  • 123
  • 1
  • 6
1
vote
1 answer

Ender JS build without internet

Is there any way to stop ender trekking of to the internet to get a copy of itself before building from local libraries? Can I save a local copy of ender-js and tell it to use that?
Billy Moon
  • 57,113
  • 24
  • 136
  • 237
1
vote
1 answer

jquery library via ender

I have tried building jquery into ender.js. ender build jquery The library is correctly installed, but I see many dependencies I don't need. Is it the minimal version of jquery I can embed via ender or a version intended to be used from…
dgulabs
  • 443
  • 4
  • 16
0
votes
0 answers

How do I fix this marlin error for the Professional-Ui software error?

The error is: c:/users/caleb/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: Marlin/lib/proui\libproui.a(bed_tramming.cpp.o): in function MarlinUI::set_status(char const*,…
0
votes
0 answers

How do I configure Backbone.Sync to work with request?

When I do a Model.fetch(), I'm getting the response from request as the attributes object. How do I override this globally in Backbone settings / request settings ?
Balanarayanan
  • 481
  • 1
  • 5
  • 11
0
votes
1 answer

Ender breaks requirejs optimiser

I am using ender to create a drop in replacement for my jquery usage. I am using just qwery, bean and bonzo (no need for dom ready in my use case), and everything works fine. I include the ender dev build as a path in my require config, and a shim…
Mild Fuzz
  • 29,463
  • 31
  • 100
  • 148
0
votes
1 answer

ender.js install fails

I'm trying to install ender.js. I've run the following command sudo npm install ender -g but after the install (with no error), I can't access ender command line. I have the latest node and npm install (via brew) anybody ran into this problem?
Yannick Schall
  • 32,601
  • 6
  • 29
  • 42
0
votes
1 answer

Why does this event handling code for ender break when I try to clean it up some?

This is the code that works properly: bonzo.aug({ bind: function (event, handler) { if (this[0].attachEvent) this[0].attachEvent('on'+event, handler); else this[0].addEventListener(event, handler); …
wwaawaw
  • 6,867
  • 9
  • 32
  • 42
0
votes
1 answer

Specify install path for Ender

When using Ender I would like to specify a directory where packages should be installed. The only way to make this work seems to be to cd directory; ender build package, but I might be wrong? Idealy I would have a package.json file, where I can…
webjay
  • 5,358
  • 9
  • 45
  • 62