@ambers/contrib-web
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -5,3 +5,3 @@ { | ||
"description": "Amber Smalltalk's original Seaside-inspired DOM manipulation library", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"homepage": "https://lolg.it/amber/amber-contrib-web", | ||
@@ -26,4 +26,4 @@ "repository": { | ||
"reset": "npm run clean && npm run init", | ||
"clean": "(rm -rf bower_components || rd /s/q bower_components) && (rm -rf node_modules || rd /s/q node_modules)", | ||
"init": "npm install && bower install && grunt default devel", | ||
"clean": "rm -rf node_modules || rd /s/q node_modules", | ||
"init": "npm install && grunt default devel", | ||
"test": "grunt test" | ||
@@ -30,0 +30,0 @@ }, |
@@ -35,3 +35,3 @@ define(["amber/boot", "require", "amber/core/Kernel-Collections", "amber/core/Kernel-Objects", "amber/web/Web"], function($boot,requirejs){"use strict"; | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"initializeFromJQuery:",{aJQuery:aJQuery},$globals.HTMLSnippet)}); | ||
}, function($ctx1) {$ctx1.fill(self,"initializeFromJQuery:",{aJQuery:aJQuery})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -44,2 +44,3 @@ }, | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: ["do:", "snippetsFromJQuery:", "installSnippetFromJQuery:", "asJQuery"] | ||
@@ -74,3 +75,3 @@ }), | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"installSnippetFromJQuery:",{element:element,name:name},$globals.HTMLSnippet)}); | ||
}, function($ctx1) {$ctx1.fill(self,"installSnippetFromJQuery:",{element:element,name:name})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -83,2 +84,3 @@ }, | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: ["attr:", "ifFalse:", "=", "ifTrue:ifFalse:", "test:", "asRegexp", "allButFirst", "attr:put:", "removeAttr:", "snippetAt:install:", "get:", "detach"] | ||
@@ -99,3 +101,3 @@ }), | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"snippetAt:",{aString:aString},$globals.HTMLSnippet)}); | ||
}, function($ctx1) {$ctx1.fill(self,"snippetAt:",{aString:aString})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -108,2 +110,3 @@ }, | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: ["at:", "snippets"] | ||
@@ -122,3 +125,4 @@ }), | ||
//>>excludeEnd("ctx"); | ||
$recv($recv($globals.ClassBuilder)._new())._installMethod_forClass_protocol_($recv($recv((function(htmlReceiver){ | ||
var $2,$1; | ||
$2=$recv($recv((function(htmlReceiver){ | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
@@ -131,6 +135,9 @@ return $core.withContext(function($ctx2) { | ||
//>>excludeEnd("ctx"); | ||
}))._currySelf())._asCompiledMethod_(aString),$globals.HTMLCanvas,"**snippets"); | ||
}))._currySelf())._asCompiledMethod_(aString); | ||
$recv($2)._protocol_("**snippets"); | ||
$1=$recv($2)._yourself(); | ||
$recv($globals.HTMLCanvas)._addCompiledMethod_($1); | ||
return self; | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"snippetAt:compile:",{aString:aString,anElement:anElement},$globals.HTMLSnippet)}); | ||
}, function($ctx1) {$ctx1.fill(self,"snippetAt:compile:",{aString:aString,anElement:anElement})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -140,6 +147,7 @@ }, | ||
args: ["aString", "anElement"], | ||
source: "snippetAt: aString compile: anElement\x0a\x09\x22Method generation for the snippet.\x0a\x09The selector is aString, the method block uses anElement\x22\x0a\x09\x0a\x09ClassBuilder new\x0a\x09\x09installMethod: ([ :htmlReceiver | htmlReceiver snippet: anElement ]\x0a\x09\x09\x09currySelf asCompiledMethod: aString)\x0a\x09\x09forClass: HTMLCanvas\x0a\x09\x09protocol: '**snippets'", | ||
referencedClasses: ["ClassBuilder", "HTMLCanvas"], | ||
source: "snippetAt: aString compile: anElement\x0a\x09\x22Method generation for the snippet.\x0a\x09The selector is aString, the method block uses anElement\x22\x0a\x09\x0a\x09HTMLCanvas addCompiledMethod:\x0a\x09\x09(([ :htmlReceiver | htmlReceiver snippet: anElement ]\x0a\x09\x09\x09currySelf asCompiledMethod: aString) protocol: '**snippets'; yourself)", | ||
referencedClasses: ["HTMLCanvas"], | ||
//>>excludeEnd("ide"); | ||
messageSends: ["installMethod:forClass:protocol:", "new", "asCompiledMethod:", "currySelf", "snippet:"] | ||
pragmas: [], | ||
messageSends: ["addCompiledMethod:", "protocol:", "asCompiledMethod:", "currySelf", "snippet:", "yourself"] | ||
}), | ||
@@ -161,3 +169,3 @@ $globals.HTMLSnippet); | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"snippetAt:install:",{aString:aString,anElement:anElement},$globals.HTMLSnippet)}); | ||
}, function($ctx1) {$ctx1.fill(self,"snippetAt:install:",{aString:aString,anElement:anElement})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -170,2 +178,3 @@ }, | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: ["at:put:", "snippets", "snippetAt:compile:"] | ||
@@ -193,3 +202,3 @@ }), | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"snippets",{},$globals.HTMLSnippet)}); | ||
}, function($ctx1) {$ctx1.fill(self,"snippets",{})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -202,2 +211,3 @@ }, | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: ["ifNil:"] | ||
@@ -218,3 +228,3 @@ }), | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"snippetsFromJQuery:",{aJQuery:aJQuery},$globals.HTMLSnippet)}); | ||
}, function($ctx1) {$ctx1.fill(self,"snippetsFromJQuery:",{aJQuery:aJQuery})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -227,2 +237,3 @@ }, | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: ["toArray", "find:"] | ||
@@ -248,2 +259,3 @@ }), | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: [] | ||
@@ -281,3 +293,3 @@ }), | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"ensureCurrent",{},$globals.HTMLSnippet.a$cls)}); | ||
}, function($ctx1) {$ctx1.fill(self,"ensureCurrent",{})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -290,2 +302,3 @@ }, | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: ["ifNil:", "initializeFromJQuery:", "new", "asJQuery", "yourself"] | ||
@@ -319,3 +332,3 @@ }), | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"initialize",{},$globals.HTMLSnippet.a$cls)}); | ||
}, function($ctx1) {$ctx1.fill(self,"initialize",{})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -328,2 +341,3 @@ }, | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: ["initialize", "ifTrue:", "isFeasible", "ensureCurrent"] | ||
@@ -345,3 +359,3 @@ }), | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"new",{},$globals.HTMLSnippet.a$cls)}); | ||
}, function($ctx1) {$ctx1.fill(self,"new",{})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -354,2 +368,3 @@ }, | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: ["shouldNotImplement"] | ||
@@ -384,3 +399,3 @@ }), | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"snippet:",{anElement:anElement,clone:clone,caret:caret},$globals.HTMLCanvas)}); | ||
}, function($ctx1) {$ctx1.fill(self,"snippet:",{anElement:anElement,clone:clone,caret:caret})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -393,2 +408,3 @@ }, | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: ["clone", "asJQuery", "with:", "fromJQuery:canvas:", "find:", "ifEmpty:", "toArray", "removeAttr:"] | ||
@@ -409,3 +425,3 @@ }), | ||
//>>excludeStart("ctx", pragmas.excludeDebugContexts); | ||
}, function($ctx1) {$ctx1.fill(self,"asSnippet",{},$globals.String)}); | ||
}, function($ctx1) {$ctx1.fill(self,"asSnippet",{})}); | ||
//>>excludeEnd("ctx"); | ||
@@ -418,2 +434,3 @@ }, | ||
//>>excludeEnd("ide"); | ||
pragmas: [], | ||
messageSends: ["snippetAt:", "current", "asString"] | ||
@@ -420,0 +437,0 @@ }), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
185247
5426