Questions tagged [object]
An object is any entity that can be manipulated by commands in a programming language. An object can be a value, a variable, a function, or a complex data-structure. In object-oriented programming, an object refers to an instance of a class.
object
12,863
questions with no upvoted or accepted answers
4
votes
1
answer
2k
views
Defining setter for Ember Object property
I have an Ember.Object Foo with property message:
Foo = Ember.Object.extend({
message: null
When this.set('message', value) is executed, I want to modify the value variable before it is set on ...
4
votes
0
answers
625
views
Workaround to allow reserved words to be used as property names on IE8?
Summary
I want to use class as a property name of an object, and access it using dot notation.
Preamble
I already know that, according to ECMA-262 5.1 Edition / June 2011 (page number 19, page 31), ...
4
votes
0
answers
899
views
Is it possible to embed a mysql.dll in a Excel file by adding it to the .xlsm.zip file?
The client machine running the Excel workbook may or may not have the object library for MySQL installed. I do not want the client to have to install anything to run the workbook.
I know it is ...
4
votes
0
answers
5k
views
Android/Java: Class not loaded
I have been bugging some code and noticed that for some reason now I am getting this object error
com.result.mobile.ui.R.drawable.outwards = Class not loaded :
com.result.mobile.ui.R
Sometimes ...
4
votes
0
answers
298
views
How to enable object type button?
My python function returns an action url after which my button disables. OpenERP adds an attribute disable="disable" to my button . I don't want to disable button.
My code is
<button name="...
4
votes
0
answers
768
views
pointer-events:none on embed/object in and out of iframe browser inconsistencies/bugs
I need to have pointer-events: none on a youtube video to allow clicking of the parent div. Not being able to interact with the video is required behaviour. Check out the jsfiddle:
http://jsfiddle....
4
votes
0
answers
7k
views
JQuery 1.9.1 min.js file Invalid operand to 'in' Object expected
first time poster and somewhat beginning developer. Tried looking for the answer in many places but nothing specific and i really need help.
I'm trying to install an image rotator/slider (nivo) onto ...
4
votes
2
answers
440
views
.net deserialize xml to one of multiple known objects
Having tried searching with various combinations of ".net deserialize xml one many known object type"... and not finding anything that makes sense, I'm here now.
I get 1 of 5 unrelated objects (...
4
votes
3
answers
3k
views
Specify item fields to Load using Sharepoint 2010 Client OM
How can I dinamically generate/specify a list of item fields I want to load when querying a list using the Client OM?
This is possible to do using the tag on the CAML query, but this loads ...
4
votes
1
answer
695
views
Why early binding is resolved at compile time if the actual object is determined at runtime?
I know that all objects are created at runtime when the function is called.
Binding is when we bind methods data members inside the class.
early binding is binding all the method instance variables ...
4
votes
1
answer
270
views
Cannot access object properties (weird as it should work as it always does)
I have a really weird problem. I'm trying to access a subobject but it just won't work. The easiest way is to just show you the console output of FireBug:
console.log(DesignDocument)
DesignDocument: ...
4
votes
2
answers
3k
views
THREE.STLLoader is not a constructor
I have been trying to load a STL model on three.js
I keep getting THREE.STLLoader is not a constructor on the console
this is my code:
var loader = new THREE.STLLoader();
loader.load( '...
4
votes
4
answers
2k
views
Get previous object item in javascript
I have an object with keys and data. From a key I want to get the previous item.
I've seen similar topics before but the solutions are really complicated.
I also added a function that does not work ...
3
votes
1
answer
96
views
React updating a state array that is nested within array of objects
So I'm feeling somewhat confident on updating the array of objects when it's just array of objects using map and the spread function. However, where I'm stuck on is updating an array that is within ...
3
votes
0
answers
418
views
Is Object.assign() better than create an object with variable declaration?
I'm learning Javascript and just started the DOM class, from the start I've been unconfortable with creating elements by variable declarations because it looked so massive, after some research I've ...