Skip to content

Commit

Permalink
Fixed Virtualization of items
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Mar 8, 2017
1 parent 253423e commit c79e514
Show file tree
Hide file tree
Showing 15 changed files with 1,969 additions and 1,849 deletions.
1,790 changes: 915 additions & 875 deletions atoms-debug.js

Large diffs are not rendered by default.

1,790 changes: 915 additions & 875 deletions atoms.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion atoms.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions atoms.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundleconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"outputFileName": "atoms.min.js",
"inputFiles": [
"atoms.js"
"atoms-debug.js"
],
"sourceMap": true
}
Expand Down
Binary file modified nuget/Atoms.js/NuGet.log
Binary file not shown.
2 changes: 1 addition & 1 deletion nuget/Atoms.js/Package.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>Web.Atoms.js</id>
<version>2.1.104</version>
<version>2.1.106</version>
<title>Web.Atoms.js</title>
<authors>Akash Kava</authors>
<owners></owners>
Expand Down
6 changes: 3 additions & 3 deletions plugins/upload/atom-uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ window.__atom_flash_uploader_event = function (id, json) {
case "ready":
break;
case "click-error":
alert(JSON.stringify(evt.e));
Atom.alert(JSON.stringify(evt.e));
break;
case "select":
this.add_items(evt.files);
Expand Down Expand Up @@ -282,7 +282,7 @@ window.__atom_flash_uploader_event = function (id, json) {
if (this._maxFileSize != -1) {
var bigFiles = Atom.query(v).where({ 'size >': this._maxFileSize });
if (bigFiles.any()) {
alert('File has to be less then ' + AtomFileSize.toFileSize(this._maxFileSize));
Atom.alert('File has to be less then ' + AtomFileSize.toFileSize(this._maxFileSize));
if (this._filePresenter) {
this.createFilePresenter();
return;
Expand All @@ -294,7 +294,7 @@ window.__atom_flash_uploader_event = function (id, json) {
if (v.length > this._maxFiles) {
var msg = this._maxFilesErrorMessage ;
if (!msg) { msg = "You cannot choose more than " + this._maxFiles + " files"; }
alert(msg);
Atom.alert(msg);
if (this._filePresenter) {
this.createFilePresenter();
return;
Expand Down
4 changes: 2 additions & 2 deletions src/Controls/AtomButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
vr.validate();
var errors = vr.get_errors();
if (errors.length) {
alert(Atom.mapJoin(errors, 'label'));
Atom.alert(Atom.mapJoin(errors, 'label'));
return false;
}
}

var errors = this.get_errors();
if (errors.length) {

alert(Atom.mapJoin(errors, 'label'));
Atom.alert(Atom.mapJoin(errors, 'label'));

return false;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Controls/AtomControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ window.AtomProperties = AtomProperties;
try {
runAction.call(this,action, evt);
} catch (e) {
alert(e);
Atom.alert(e);
if (console.error) {
console.error(e);
}
Expand Down Expand Up @@ -1079,7 +1079,7 @@ window.AtomProperties = AtomProperties;
this.set_scope(s);
} catch (ex) {
log(JSON.stringify(ex));
alert(JSON.stringify(ex));
Atom.alert(JSON.stringify(ex));
}

}
Expand Down
Loading

0 comments on commit c79e514

Please sign in to comment.