Skip to content

Kupret.inc 2 - #54

Open
usernamealreadyis wants to merge 3019 commits into
GistIcon:perftestfrom
xccvv:kupret.inc-2
Open

Kupret.inc 2#54
usernamealreadyis wants to merge 3019 commits into
GistIcon:perftestfrom
xccvv:kupret.inc-2

Conversation

@usernamealreadyis

Copy link
Copy Markdown

name: @GistIcon/bola

[Constructor(optional FindTextArgs args)]
interface FindText : EventTarget {
attribute DOMString text;
attribute unsigned short textDistance;
attribute DOMString prefix;
attribute unsigned short prefixDistance;
attribute DOMString suffix;
attribute unsigned short suffixDistance;
attribute Element scope;
attribute Range startRange;
attribute caseFoldingType caseFolding;
attribute UnicodeEquivalenceType unicodeNormalization;
attribute boolean wholeWord;
attribute boolean wrap;
attribute unsigned long cursor;
readonly attribute DOMString searchContent; #7086
readonly attribute DOMString sourceMap;
Promise≺ResultMatch≻ search (optional boolean forward);
Promise≺ResultMatchAll≻ searchAll (optional boolean forward);
};

IgorMinarand others added 30 commits November 30, 2015 21:36
Use a zone counting timeouts and microtasks to determine when a test
is finished, instead of requiring the test writer to use
injectAsync and return a promise.
See angular#5322
BREAKING CHANGE:
Previously, components that would implement lifecycle interfaces would include methods
like "onChanges" or "afterViewInit." Given that components were at risk of using such
names without realizing that Angular would call the methods at different points of
the component lifecycle. This change adds an "ng" prefix to all lifecycle hook methods,
far reducing the risk of an accidental name collision.
To fix, just rename these methods:
* onInit
* onDestroy
* doCheck
* onChanges
* afterContentInit
* afterContentChecked
* afterViewInit
* afterViewChecked
* _Router Hooks_
* onActivate
* onReuse
* onDeactivate
* canReuse
* canDeactivate
To:
* ngOnInit,
* ngOnDestroy,
* ngDoCheck,
* ngOnChanges,
* ngAfterContentInit,
* ngAfterContentChecked,
* ngAfterViewInit,
* ngAfterViewChecked
* _Router Hooks_
* routerOnActivate
* routerOnReuse
* routerOnDeactivate
* routerCanReuse
* routerCanDeactivate
The names of lifecycle interfaces and enums have not changed, though interfaces
have been updated to reflect the new method names.
Closesangular#5036
BREAKING CHANGE:
Previously, pipes that wanted to be notified when they were destroyed
would implement the PipeOnDestroy interface and name the callback
`onDestroy`. This change removes the PipeOnDestroy interface and
instead uses Angular's lifecycle interface `OnDestroy`, with the
`ngOnDestroy` method.
Before:
```
import {Pipe, PipeOnDestroy} from 'angular2/angular2';
@pipe({pure: false})
export class MyPipe implements PipeOnDestroy {
onDestroy() {}
}
```
After:
import {Pipe, OnDestroy} from 'angular2/angular2';
@pipe({pure: false})
export class MyPipe implements PipeOnDestroy {
ngOnDestroy() {}
}
Remove deprecated `reflectPropertiesAsAttributes` as an option. It has
been renamed `reflect_properties_as_attributes`.
Closesangular#5108Closesangular#5512
Detect the `@AngularEntrypoint` annotations on methods and/or
functions and add a call to `initReflector` there.
See angular#4865
Add an implementation of the transformer which runs only the phases
which replace `Asset`s, rather than generate them.
Closesangular#5484
These have been deprecated for a while. Instead of angular2/test, use
angular2/testing. Instead of angular2/test_lib, use angular2_testing_internal.
I think people new to promises, angular etc will find this example easier to understand with concrete identifiers from a simple use-case. The existing naming could be confused with promise/angular functionality (`promise` in the template, `resolved` etc).
Also I made `resolve` private, as then it's clear what we're exposing for the template.
… n from 'angular2'''
The typings property is being removed because angular2.ts is deprecated, and the developers should import from angular2/core and angular2/platform/*. So aliasing angular2 to angular2/angular2 does not make sense.
BREAKING CHANGE
Before
import * as ng from 'angular2';
After
import * as core from 'angular2/core';
- we now correctly print errors even on old Node versions
- we print error messages even when node_modules are missing or messed up
- error messages looks better
Closesangular#5230
flyyangand others added 24 commits December 17, 2015 22:57
Couple of typos fixed:
- occuring -> occurring
- imlement -> implement
- idenitifer -> identifer
etc...
Closesangular#5943
This commit reverts a8d9dbf that introduced a code size regression (16kb gzipped, 63kb minified) in Dart.
Effect on the hello world app:
gzipped: 105kb -> 89kb
minified: 370kb -> 317kb
BREAKING CHANGE:
- This is very unlikely to be breaking, but I'm still marking just in case. The only change to the user should be that dev mode is driven by Dart's checked mode, like it was in the past.
Our code size SLA is 100kb gzipped and 300kb minified. Our target is 10kb gzipped.
We are currently under 90kb gzipped. Let's keep it that way while looking for ways to improve the situation further. We're not <300kb minified yet, so we should be stricter here too.
Closesangular#5896
Before, all test framework wrappers (internal for dart and js/ts,
angular2_test for dart and testing for js/ts) had similar logic to
keep track of current global test injector and test provider list.
This change wraps that logic into one class managed by the test
injector.
Closesangular#5920
param:injector ;
hide:param ;
close:propose :+1
This changes the way we calculate specificity. Instead of using a number,
we use a string, so that combining specificity across parent-child instructions
becomes a matter of concatenating them
Fixesangular#5848Closesangular#6011
use caretaker rather than "on-duty"
Closesangular#6058
$ ~npm init [-f|--force|-y|--yes]
This form allows you to encrypt sensitive data before saving it into appveyor.yml file. Secure strings are currently supported in environment, deploy and notifications sections.
 supported in environment, deploy and notifications sections.# configuration for "master" branch
# build in Release mode and deploy to Azure
-
branches:
only:
- master
configuration: Release
deploy:
provider: AzureCS
...
# configuration for all branches starting from "dev-"
# build in Debug mode and deploy locally for testing
-
branches:
only:
- /dev-.*/
configuration: Debug
deploy:
provider: Local
...
# "fall back" configuration for all other branches
# no "branches" section defined
# do not deploy at all
-
configuration: Debug
[[PrimitiveValue]]
***Internal state information associated with this object. Of the standard built-in ECMAScript objects, only Boolean, Date, Number, and String objects implement [[PrimitiveValue]].*
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

20 participants

@usernamealreadyis@AndisthermalFindLasthree@IgorMinar@juliemr@vsavkin@btford@jeffbcross@0x-r4bbit@pkozlowski-opensource@ericmdantas@cironunes@manekinekko@timruffles@vicb@mgechev@jesperronn@marclaval@robwormald@gionkunz@Foxandxss