Skip to main content

Questions tagged [durandal]

A cross-device, cross-platform client framework written in JavaScript and designed to make building and maintaining Single Page Applications (SPAs) faster and easier.

durandal
1 vote
0 answers
96 views

Vscode intellisense AMD requirejs durandal

i am running an app in aspnetcore which uses plain js files for the view part, in this case is a legacy app using : jquery Requirejs with AMD modules Durandal (now aurelia) which enforces the use of ...
jkone27's user avatar
  • 173
1 vote
1 answer
93 views

using knockout and durandal js foreach binding to duplicate section, but all the duplicates are taking same values when editing

i'm new to using the durandal Js foreach binding, i wanted to show the same fieldset multiple times according to the number of values in a selectlist and when i add an element to this list a new ...
NexNex's user avatar
  • 21
0 votes
0 answers
256 views

How to access observable values?

This is a model and I am trying to access its values. But value is in Symbol(_latestValue) and I am not sure how I can access that value. define(['services/SessionService'], function(SessionService) ...
Raneu's user avatar
  • 7
1 vote
0 answers
99 views

Migrating from weyland.js to grunt.js

I have a legacy asp.net + durandal.js app that is using weyland as a build optimizer. We are trying to upgrade to grunt to use something newer, but I can't get it to generate minified js build file ...
magro's user avatar
  • 11
0 votes
0 answers
3k views

TS1108 (TS) A 'return' statement can only be used within a function body - knockout js, durandal, typescript

I've been tasked with updating an application that was written in 2015. It hasn't been touched since then. I pulled the Solution into VS 2019 and after figuring out a new NuGet errors and modifying ...
Ian's user avatar
  • 1
0 votes
0 answers
138 views

How to unit test local functions in Knockout and Durandal through Jasmine?

I have my View Model file(say SOService) using requireJS like so: define(['dependencies/dep1'], function (dep1) { var vm = { func1: func1, func2: func2 }; ...
Priyanker Rao's user avatar
0 votes
1 answer
339 views

Problem building with weyland on Azure Dev Ops

I have an app built with Durandal and use Weyland to build it. I have Weyland installed globally and when I run the command weyland build -c "path\to\config" locally it works and results in ...
Jonas Stawski's user avatar
1 vote
1 answer
134 views

why is ace editor not emitting the tokenizerUpdate event

I have this code inside compositionComplete() this.docEditor = aceEditorBindingHandler.getEditorBySelection($(docEditorSelector); // this.docEditor is of type AceAjax.Editor if (this.docEditor) { ...
codeKnight's user avatar
0 votes
1 answer
73 views

does dropzone-amd-module.js support IE 11?

Per the dropzone site version 5.0 should support IE10+. I am using dropzone-amd-module.js ver 5.5 in a Durandal app and IE11 does not seem to support Symbol.iterator. Since I need to support IE11 at ...
kpg's user avatar
  • 631
1 vote
1 answer
152 views

How to write a define wrapper around the require js function

I want to wrap the following code as a define method require([ 'highcharts', 'highcharts/modules/exporting', 'highcharts/modules/accessibility' ], ...
ShivaRam's user avatar
0 votes
1 answer
411 views

Task runner explorer VS2019 v16.6.2 failed to load Gulpfile.js

Here is the output error window result below. Failed to run "D:\TortSVN\Oil Diversity\Main Web App\LatsetOildiversity\Gulpfile.js"... cmd.exe /c gulp --tasks-simple fs.js:27 const { Math, ...
Anushka Shukla's user avatar
1 vote
0 answers
120 views

How to know when compositionComplete is done?

I have: compositionComplete() { super.compositionComplete(); .... } but I need to run some code after compositionComplete is completed. Not inside this callback. How can I know that ?
codeKnight's user avatar
0 votes
2 answers
54 views

Hide button everywhere besides specific URL in knockout

I have the following button: <button class="btn actionButtonIcon" id="DashboardEdit" data-bind="click: changeButtonText"> <figure> <img src="../../../Images/NotesPink.png" /...
Mohammed Ismail's user avatar
0 votes
1 answer
233 views

combine ko observables into a ko observable array

I currently have two observables that I want to merge into an array to send to my backend application for processing, they are: self.ElementData = ko.observable(localStorage.getItem('...
Mohammed Ismail's user avatar
2 votes
1 answer
127 views

React Dynamic Table not showing in Knowckout project

i have been able to successfully integrate react components in my durandal/knockout application. I have managed to show data in a graph but i cant seem to show the data in my react table. I get the ...
Mohammed Ismail's user avatar

15 30 50 per page
1
2 3 4 5
90