Questions tagged [stealjs]

a collection of command line and JavaScript client utilities for building, packaging, and sharing JavaScript applications.

StealJS is a collection of command line and JavaScript client utilities for building, packaging, and sharing JavaScript applications.

It is a part of and features:

  • dependency management
  • JS/CSS concatenation and compression
  • logging
  • code generators
  • code cleaner

More information

27 questions
0
votes
1 answer

Configuring StealJS loader to import openlayers 3 debug version

I'm using StealJS to load the Openlayers library. It seems to be loading the debugging - unbuilt version of openlayers differently than the built version. When using the built version, it works correctly and returns the actual ol object. When using…
twoLeftFeet
  • 693
  • 1
  • 5
  • 25
0
votes
1 answer

Using StealJS to load Bower components lacking a bower.json file

I am using the StealJS + Bower integration in my application, but a couple of my Bower components (including es6-collections) do not contain a bower.json file. Because es6-collections is one of the dependencies in my project's bower.json file,…
canac
  • 15,440
  • 2
  • 16
  • 11
0
votes
1 answer

Which version of StealJS does CanJS 2.2.7 use?

I tried using the latest CanJS (2.2.7) and the latest StealJS (I think it is 0.10) but it seems there are some functions is missing, for example: CanJS uses steal.config() whereas StealJS steal.config function seems does not take undefined…
Yosia
  • 1
0
votes
1 answer

How to precompile Steal.js assets properly?

I have used steal.js as one of my assets. Previously I use it directly from public folder(i.e without pre-compile). Now I need to move its file to vendor assets so that it can be precompiled. For this I used gem execjs to precompile .ejs files and…
cmthakur
  • 2,266
  • 4
  • 18
  • 23
0
votes
2 answers

StealJS error: Cross origin requests are not supported for protocol schemes

I am having an error like this: XMLHttpRequest cannot load file:///Users/mshin/workspace/spirent/trinity/trinity-link/public/node_modules/can/view/stache/system.js. Cross origin requests are only supported for protocol schemes: http, data, chrome,…
Mason Shin
  • 11
  • 4
0
votes
0 answers

no fixture found error for real api stealjs

When I build compressed javascript and css by stealjs, I got no fixture found error message for real api, not fixture url. Why it happen and how to solve? // CanJS model can.Model("Models.ProtocolLimit", { indAll: 'GET /protocol_limits' },…
Mason Shin
  • 11
  • 4
0
votes
1 answer

steal.js not working with jquery

I am using jquery 1.7.2 which supports raphael.js and highlighter.js and it works fine. Now when I load steal.js( for dragging a div within specified limits), the jquery becomes void and the mentioned javascripts stop working. I am unable to…
Hardik Dave
  • 676
  • 1
  • 6
  • 17
0
votes
1 answer

How do you use a page's existing jQuery + Twitter Bootstrap/plugins with StealJS?

I have a project that uses Twitter Bootstrap 3, however, I am supplementing the existing javascript situation with a CanJS app. For CanJS dependency management I chose their package StealJS. However, it appears that no matter what I do, StealJS…
Plywood
  • 891
  • 1
  • 7
  • 16
0
votes
1 answer

Going through JavascriptMVC 'rapid start' tutorial getting a 403 error

I'm getting started with JavascriptMVC, going through the rapid start todo sample application. I'm getting a 403 error on the first step. Here is my code: todos.html
    user1743524
    • 655
    • 1
    • 7
    • 14
    0
    votes
    1 answer

    Reference the ArcGIS API for JavaScript using StealJS

    Has anyone tried to reference the ArcGIS API for JavaScript using StealJS instead of adding
    Song
    • 397
    • 1
    • 5
    • 9
    0
    votes
    1 answer

    How can I load a script in a JavascriptMVC controller

    I know how to load scripts using steal however I want to load it before the code in my controller's init method is executed. I need the methods from a script file to be defined before the controller initialization. How can I do that? EDIT: Some…
    ene.andrei
    • 187
    • 1
    • 2
    • 9
    -1
    votes
    1 answer

    Does Jest Support stealjs

    Hello was trying to run canjs v2.3 for JEST but it seems it returns an error after testing: Reference: steal is not defined. I am not sure if bundling with stealjs is supported with Jest, I can't also find resources online regarding this ticket. I…
    Bon Andre Opina
    • 2,129
    • 2
    • 15
    • 33
    1
    2