Giter Club home page Giter Club logo

kendo-tutorials.code-2.0's Introduction

kendo-tutorials.code-2.0's People

Watchers

 avatar  avatar

kendo-tutorials.code-2.0's Issues

Sample skeleton-typescript crashes

All samples in the repository kendo-tutorials.code-2.0 are organized in the form:

image

  1. Original (working) typescript skeleton is here
  2. Sample with added autocomplete widget is here: after
  3. Document describing how to build it is this.

Running gulp watch results with this crash report:

system.src.js:1041 GET http://localhost:9000/dist/aurelia.kendoui.bridge.js 404 (Not Found)

The dist folder is obviously missing all needed kendoUI and bridge modules:

image

The only change from the previously working samples are caused by KendoUI SDK being installed via npm (previously, I just ploped KendoUI SDK folder obtained elsewhere into the project.

It ought to be that I am persistently forgetting something 😢

Sample skeleton-next crashes

While the previous issue where I used .plugin('aurelia.kendoui.bridge') was easily fixed (that was the only problem with it), now, I fell again in the jQuery trap, which we discussed at large in the how can KendoUI wrappers (KendoUI bridge classes that represent the KendoUI widgets) work as Aurelia components? article, which I wrote as a proof that I understand the concept of using the jQuery plugin trick, which "brings" the jQuery reference to the wrappers code in the bridge. It seems that today I do not understand this anymore.

Here is the scoop: the new npm KendoUI SDK installer used in this sample, I have added the command

λ jspm install npm:jquery@^2.2.4
     Looking up npm:jquery
     Updating registry cache...
ok   Up to date - jquery as npm:[email protected] (2.2.4)

when building this sample (see this line). To ensure that the jQuery gets loaded before Kendo (SDK and Bridge), I added this line without really understanding whether it should be before or after bluebird script tag.

The problem is stated as

bluebird.min.js:33 Error: (SystemJS) Bootstrap's JavaScript requires jQuery
	Error: Bootstrap's JavaScript requires jQuery

This error is issued by bootstrap (see below)

image

This means that the line did not define jQuery object as I hoped. This is also visible from the error that happens after continuing from the breakpoint in bootstrap.js

Uncaught ReferenceError: define is not defined
    at [email protected]:1
(anonymous) @ [email protected]:1

What am I missing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.